chiark / gitweb /
actually bomb out if the control panel does
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 22 Aug 2010 21:57:26 +0000 (22:57 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 22 Aug 2010 21:57:26 +0000 (22:57 +0100)
jpctb

diff --git a/jpctb b/jpctb
index ee1482a..c4f2b6e 100755 (executable)
--- a/jpctb
+++ b/jpctb
@@ -154,7 +154,7 @@ set -e
 case $rc in
 0)     echo "launcher dialogue closed, quitting"; exit 0 ;;
 12)    ;;
-*)     echo >&2 "control panel failed with exit status $rc" ;;
+*)     echo >&2 "control panel failed with exit status $rc"; exit "$rc" ;;
 esac