diff options
-rwxr-xr-x | fshare.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -405,3 +405,6 @@ with contextlib.ExitStack() as stack: except StateCorruptError: logger.error('Corrupted state file') sys.exit(1) + except KeyboardInterrupt: + logger.info('Interrupted, exiting') + sys.exit(0) |