Fixed warning at tentacle_serverd script

This commit is contained in:
fbsanchez 2016-04-07 11:26:18 +02:00
parent 902329e785
commit fc72052b86
1 changed files with 3 additions and 1 deletions

View File

@ -133,10 +133,12 @@ case "$1" in
else
kill $TENTACLE_PID
COUNTER=0
while [ $COUNTER -lt $MAXWAIT ]
do
_PID=`get_all_pid`
if [ "$_PID" != "$SATELLITE_PID" ]
if [ "$_PID" != "$SATELLITE_PID" ] || ([ "$_PID" == "" ] && [ "$SATELLITE_PID" == "" ])
# tentacle already stopped
then
COUNTER=$MAXWAIT
fi