Revision: 45f84d36b955
Author:   Jean Deruelle <[email protected]>
Date:     Thu Aug 30 12:44:13 2012
Log:      fixing the autokill

http://code.google.com/p/sipservlets/source/detail?r=45f84d36b955

Modified:
/sip-servlets-test-suite/sipp-scenarios/clustering/auto-kill-process-tree.sh

=======================================
--- /sip-servlets-test-suite/sipp-scenarios/clustering/auto-kill-process-tree.sh Thu Aug 30 12:20:13 2012 +++ /sip-servlets-test-suite/sipp-scenarios/clustering/auto-kill-process-tree.sh Thu Aug 30 12:44:13 2012
@@ -1,6 +1,6 @@
 #!/bin/sh
 export pid=$1
-export killed = "no"
+export killed="no"

 echo "Trying Killing script $2 child process with parent pid = $pid"

@@ -12,10 +12,11 @@
   sleep 1 # give some time for the clean shutdown to reach out
echo "Hard Killing script $2 child process $child because parent pid = $pid"
   kill -9 $child # kill it immediately without wasting more time
-  killed = "yes"
+  killed="yes"
 done

 if [ "no" = "$killed" ]; then
echo "The app server is not dead? We will sleep. We must raise error here, because this server should have been dead."
   sleep 10
 fi
+

Reply via email to