mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed warning at tentacle_serverd script
This commit is contained in:
parent
5a575eec17
commit
303371c080
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user