Skip to content

Commit

Permalink
use correct exitcode upon ctrl-c
Browse files Browse the repository at this point in the history
Co-authored-by: Kurt Garloff <[email protected]>
Signed-off-by: Matthias Büchse <[email protected]>
  • Loading branch information
mbuechse and garloff committed Nov 26, 2024
1 parent ff8568d commit 571fd97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/add_subject.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import os.path
import re
import shutil
import signal
import subprocess
import sys

Expand Down Expand Up @@ -86,3 +87,4 @@ def main(argv, cwd):
sys.exit(1)
except KeyboardInterrupt:
print("Interrupted", file=sys.stderr)
sys.exit(128 + signal.SIGINT)

0 comments on commit 571fd97

Please sign in to comment.