diff --git a/bin/is b/bin/is
index e4c91e30a85fe2efbd8255528fe470839b44e68c..8a320b71ec03beb0fdb05648e4043cc71ccae5fa 100755
--- a/bin/is
+++ b/bin/is
@@ -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)