Commit a1556fec authored by Sebastien Luttringer's avatar Sebastien Luttringer
Browse files

return code is != 0 on error or keyboard interrupt

parent cb88c8df
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)