Skip to content
Snippets Groups Projects
Commit a1556fec authored by Sebastien Luttringer's avatar Sebastien Luttringer
Browse files

return code is != 0 on error or keyboard interrupt

parent cb88c8df
No related branches found
No related tags found
No related merge requests found
......@@ -551,5 +551,7 @@ try:
args.func(p_main, args)
except Exception as e:
error(e)
exit(2)
except KeyboardInterrupt:
warn("Keyboard Interrupted")
exit(1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment