We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ec697c commit a71abb1Copy full SHA for a71abb1
1 file changed
test/test-setup
@@ -61,7 +61,8 @@ while true; do
61
echo "$$" > $PIDFILE
62
break
63
else
64
- pid=$(< $PIDFILE ) || die "Couldn't read pidfile '$PIDFILE'"
+ pid=$(< $PIDFILE )
65
+ [ "$pid" ] || die "Couldn't read pidfile '$PIDFILE'"
66
if kill -0 $pid; then
67
echo "Pidfile for process $pid exists, and process is running. Sleeping."
68
sleep 10
0 commit comments