Added a comment

This commit is contained in:
Anton Hvornum 2021-02-17 15:13:45 +01:00
parent a9ce3e5390
commit c55fc11cae
1 changed files with 3 additions and 0 deletions

View File

@ -243,6 +243,9 @@ for i in range(5, 0, -1):
sys.stdin.read()
SIG_TRIGGER = False
signal.signal(signal.SIGINT, sig_handler)
# Put back the default/original signal handler now that we're done catching
# and interrupting SIGINT with "Do you really want to abort".
print()
signal.signal(signal.SIGINT, original_sigint_handler)