diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-28 01:24:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-28 01:24:38 +0300 |
commit | 28ae2d2f715b54690681595de5380bedc56a62ea (patch) | |
tree | e0a3e3b083e579f1603142d4b909fde129dd6508 /tools/ci/scripts/init.sh | |
parent | 521b3f671d34e67abeb268ce17aa1db2cddbf4e8 (diff) | |
download | plus-28ae2d2f715b54690681595de5380bedc56a62ea.tar.gz plus-28ae2d2f715b54690681595de5380bedc56a62ea.tar.bz2 plus-28ae2d2f715b54690681595de5380bedc56a62ea.tar.xz plus-28ae2d2f715b54690681595de5380bedc56a62ea.zip |
Fix error reporting function in ci scripts.
Diffstat (limited to 'tools/ci/scripts/init.sh')
-rwxr-xr-x | tools/ci/scripts/init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index b588192da..4164f06de 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -52,7 +52,7 @@ function aptget_install { function check_error { if [ "$1" != 0 ]; then cat $ERRFILE - exit $result + exit $1 fi } |