mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 08:45:13 +00:00
borg recreate: also catch SIGHUP
This commit is contained in:
parent
1287d1ae92
commit
57a3adb6b3
1 changed files with 2 additions and 1 deletions
|
@ -989,7 +989,8 @@ def interrupt(signal_num, stack_frame):
|
|||
dry_run=args.dry_run)
|
||||
|
||||
with signal_handler(signal.SIGTERM, interrupt), \
|
||||
signal_handler(signal.SIGINT, interrupt):
|
||||
signal_handler(signal.SIGINT, interrupt), \
|
||||
signal_handler(signal.SIGHUP, interrupt):
|
||||
if args.location.archive:
|
||||
name = args.location.archive
|
||||
if recreater.is_temporary_archive(name):
|
||||
|
|
Loading…
Reference in a new issue