summaryrefslogtreecommitdiffstats
path: root/bin/common-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/common-functions.sh')
-rwxr-xr-xbin/common-functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/common-functions.sh b/bin/common-functions.sh
index 80a869ab..7da3f7fb 100755
--- a/bin/common-functions.sh
+++ b/bin/common-functions.sh
@@ -25,7 +25,8 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
# anytime...)
echo "Start running \"$0\" as \"$TTT\" with arguments \"$@\""
$TTT "$@"
- # auto cleanup on trap
+ exit $?
+ # cleanup is done automatically via trap
else
# default settings used for the jenkins.debian.net environment
if [ -z "$LC_ALL" ]; then
@@ -55,7 +56,6 @@ else
export
set -e
set -x
-
fi
}