From d5e775efd9c52d9e8f73c04d3bf69fb26f548d28 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Wed, 2 Dec 2020 01:48:42 -0600 Subject: [PATCH] Add handle_ctrl_c to bup itself Signed-off-by: Rob Browning --- lib/cmd/bup | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/cmd/bup b/lib/cmd/bup index ebe52a0..c084e31 100755 --- a/lib/cmd/bup +++ b/lib/cmd/bup @@ -44,10 +44,19 @@ from bup.compat import ( fsdecode, wrap_main ) -from bup.helpers import columnate, debug1, log, merge_dict, tty_width +from bup.compat import add_ex_tb, add_ex_ctx, argv_bytes, wrap_main +from bup.helpers import ( + columnate, + debug1, + handle_ctrl_c, + log, + merge_dict, + tty_width +) from bup.io import byte_stream, path_msg from bup.options import _tty_width +handle_ctrl_c() cmdpath = path.cmddir() -- 2.39.2