diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-17 01:19:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-17 01:19:04 +0300 |
commit | f44f808f0bb6ea87c089bb2582916d305a4b372a (patch) | |
tree | 81f55038b046df82bb7043233661d8783ded8b1a | |
parent | 6e2bdbb10544669a8a0b312806384d242c54e3ba (diff) | |
download | evol-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-x | herculeswrapper/map.sh | 4 |
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" |