From a1556fec88164bfa24f4c20bab33a51b5c8828a7 Mon Sep 17 00:00:00 2001
From: Sebastien Luttringer <sebastien.luttringer@smartjog.com>
Date: Thu, 17 Nov 2011 13:09:48 +0100
Subject: [PATCH] return code is != 0 on error or keyboard interrupt

---
 bin/is | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/is b/bin/is
index e4c91e3..8a320b7 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)
-- 
GitLab