From 0d450df93010dc89d5770d850e6e8fec0374812d Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Mon, 12 Sep 2011 10:38:04 +0000
Subject: [PATCH] LMS-2471 exit 0 instead of 2 if time out

SVN: 22876
---
 openbis_all/source/bash/servers-shutdown.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/openbis_all/source/bash/servers-shutdown.sh b/openbis_all/source/bash/servers-shutdown.sh
index f1bfa9891e4..c53f5f12a69 100755
--- a/openbis_all/source/bash/servers-shutdown.sh
+++ b/openbis_all/source/bash/servers-shutdown.sh
@@ -43,7 +43,7 @@ if [ ! -f "$LOG_FILE" ]; then
 fi
 STARTING_MESSAGE="STARTING SERVER"
 STOPPED_MESSAGE="SERVER STOPPED"
-for i in {1..120}; do 
+for i in {1..20}; do 
     echo -n "."
     sleep 2
     
@@ -57,4 +57,3 @@ for i in {1..120}; do
 done
 
 echo "Operation timed out. Waiting aborted ..."
-exit 2;
-- 
GitLab