summaryrefslogtreecommitdiff
path: root/.tools/init.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-05 22:55:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-05 22:55:41 +0300
commit844745700775a1dd933f01de4563fd2d7a79b427 (patch)
treedabf9cd9173aaaef530e0a7012fb5d7bcc6c7536 /.tools/init.sh
parent67b82d66becabfe337503329f575e6c2f0f7f7cb (diff)
downloadclientdata-844745700775a1dd933f01de4563fd2d7a79b427.tar.gz
clientdata-844745700775a1dd933f01de4563fd2d7a79b427.tar.bz2
clientdata-844745700775a1dd933f01de4563fd2d7a79b427.tar.xz
clientdata-844745700775a1dd933f01de4563fd2d7a79b427.zip
Add into ci scripts images format check with pngcheck.
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
}