summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-17 01:19:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-17 01:19:04 +0300
commitf44f808f0bb6ea87c089bb2582916d305a4b372a (patch)
tree81f55038b046df82bb7043233661d8783ded8b1a
parent6e2bdbb10544669a8a0b312806384d242c54e3ba (diff)
downloadevol-tools-s20160820.tar.gz
evol-tools-s20160820.tar.bz2
evol-tools-s20160820.tar.xz
evol-tools-s20160820.zip
herculeswrapper: fix handling exit code 1.s20160820
It returned if error happened in server.
-rwxr-xr-xherculeswrapper/map.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/herculeswrapper/map.sh b/herculeswrapper/map.sh
index 1fcd1e3..18994e2 100755
--- a/herculeswrapper/map.sh
+++ b/herculeswrapper/map.sh
@@ -16,6 +16,10 @@ while [ 1 ] ; do
echo "Returned 0. Probably ctrl+c"
break
;;
+ 1)
+ echo "Returned 1. Probably error in server"
+ break
+ ;;
100)
echo "Terminating server"
send_all_pipes "exit"