summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-24 13:39:09 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-24 13:39:09 -0400
commit7132ae3d2ba7d1aa3a1639c41248c674a7a941ae (patch)
treefbfad92d341ed9b5bc9980a99b4a3f762e651398 /src
parent75e3c4c6a363ea44a8aa926f2882ff779a48ac52 (diff)
xbs-abslibre: avoid setting off the unknown error trap when a check fails
Diffstat (limited to 'src')
-rwxr-xr-xsrc/xbs-abslibre/helper-abslibre4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xbs-abslibre/helper-abslibre b/src/xbs-abslibre/helper-abslibre
index 6e9abd3..91e7361 100755
--- a/src/xbs-abslibre/helper-abslibre
+++ b/src/xbs-abslibre/helper-abslibre
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-# Copyright (C) 2012-2015 Luke Shumaker <lukeshu@sbcglobal.net>
+# Copyright (C) 2012-2016 Luke Shumaker <lukeshu@sbcglobal.net>
#
# License: GNU GPLv2+
#
@@ -197,6 +197,6 @@ name() {
}
case "$1" in
- status|download|release-client|release-server|unrelease|move|releasepath|name) "$@";;
+ status|download|release-client|release-server|unrelease|move|releasepath|name) "$@" || exit $?;;
*) exit 127;;
esac