summaryrefslogtreecommitdiff
path: root/.tools/init.sh
diff options
context:
space:
mode:
Diffstat (limited to '.tools/init.sh')
-rwxr-xr-x.tools/init.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.tools/init.sh b/.tools/init.sh
index 0315f39a..99f85e70 100755
--- a/.tools/init.sh
+++ b/.tools/init.sh
@@ -2,7 +2,8 @@
function check_error {
if [ "$1" != 0 ]; then
- exit $result
+ echo "Error $1"
+ exit $1
fi
}