mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Fixed warning at tentacle_serverd script
This commit is contained in:
parent
902329e785
commit
fc72052b86
@ -133,10 +133,12 @@ case "$1" in
|
|||||||
else
|
else
|
||||||
kill $TENTACLE_PID
|
kill $TENTACLE_PID
|
||||||
|
|
||||||
|
COUNTER=0
|
||||||
while [ $COUNTER -lt $MAXWAIT ]
|
while [ $COUNTER -lt $MAXWAIT ]
|
||||||
do
|
do
|
||||||
_PID=`get_all_pid`
|
_PID=`get_all_pid`
|
||||||
if [ "$_PID" != "$SATELLITE_PID" ]
|
if [ "$_PID" != "$SATELLITE_PID" ] || ([ "$_PID" == "" ] && [ "$SATELLITE_PID" == "" ])
|
||||||
|
# tentacle already stopped
|
||||||
then
|
then
|
||||||
COUNTER=$MAXWAIT
|
COUNTER=$MAXWAIT
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user