Fixed nonsense syntax in shell file test-setup.
- Legacy-Id: 355
This commit is contained in:
parent
1ec697c90a
commit
a71abb1da4
|
@ -61,7 +61,8 @@ while true; do
|
|||
echo "$$" > $PIDFILE
|
||||
break
|
||||
else
|
||||
pid=$(< $PIDFILE ) || die "Couldn't read pidfile '$PIDFILE'"
|
||||
pid=$(< $PIDFILE )
|
||||
[ "$pid" ] || die "Couldn't read pidfile '$PIDFILE'"
|
||||
if kill -0 $pid; then
|
||||
echo "Pidfile for process $pid exists, and process is running. Sleeping."
|
||||
sleep 10
|
||||
|
|
Loading…
Reference in a new issue