From f44f808f0bb6ea87c089bb2582916d305a4b372a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Aug 2016 01:19:04 +0300 Subject: herculeswrapper: fix handling exit code 1. It returned if error happened in server. --- herculeswrapper/map.sh | 4 ++++ 1 file changed, 4 insertions(+) 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" -- cgit v1.2.3-70-g09d2