summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"