summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 01:24:38 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-28 01:24:38 +0300
commit28ae2d2f715b54690681595de5380bedc56a62ea (patch)
treee0a3e3b083e579f1603142d4b909fde129dd6508 /tools/ci
parent521b3f671d34e67abeb268ce17aa1db2cddbf4e8 (diff)
downloadmanaverse-28ae2d2f715b54690681595de5380bedc56a62ea.tar.gz
manaverse-28ae2d2f715b54690681595de5380bedc56a62ea.tar.bz2
manaverse-28ae2d2f715b54690681595de5380bedc56a62ea.tar.xz
manaverse-28ae2d2f715b54690681595de5380bedc56a62ea.zip
Fix error reporting function in ci scripts.
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/scripts/init.sh2
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
}