From 3bd4b05d38d52bacb2f566c95fc1951c027c0fff Mon Sep 17 00:00:00 2001 From: Kevin Kluge Date: Fri, 10 Dec 2010 15:23:46 -0800 Subject: [PATCH] allow service cloud stop to stop the java process --- console-proxy/scripts/run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/console-proxy/scripts/run.sh b/console-proxy/scripts/run.sh index f84dbd65422..8512b9f89df 100755 --- a/console-proxy/scripts/run.sh +++ b/console-proxy/scripts/run.sh @@ -10,6 +10,9 @@ do if [ $ex -eq 0 ] || [ $ex -eq 1 ] || [ $ex -eq 66 ] || [ $ex -gt 128 ]; then # permanent errors sleep 160 + elif [ $ex -eq 143 ]; then + # service cloud stop causes exit with 143 + exit $ex fi sleep 20 done