Skip to content

Commit

Permalink
When interrupted with Ctrl+C, exit code should be 1 not 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah Bast committed Dec 8, 2024
1 parent d4e07a5 commit 4a69945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qlever/qlever_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def main():
log.info("")
log.info("Ctrl-C pressed, exiting ...")
log.info("")
exit(0)
exit(1)
except Exception as e:
# Check if it's a certain kind of `AttributeError` and give a hint in
# that case.
Expand Down

0 comments on commit 4a69945

Please sign in to comment.