Fix missing quotes in unicorn_launcher.

This commit is contained in:
Guo Xiang Tan 2018-10-05 12:21:07 +08:00
parent 07eca289d3
commit da39a310c3
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ function on_reload()
done
count=0
while [ "$count" -lt 30 -a -z $(ps -f --ppid $NEW_UNICORN_PID | grep worker | head -1 | awk '{ print $2 }') ]; do
while [ "$count" -lt 30 -a -z "$(ps -f --ppid $NEW_UNICORN_PID | grep worker | head -1 | awk '{ print $2 }')" ]; do
log "Waiting for new unicorn workers under $NEW_UNICORN_PID to start up..."
count=$((count+1))
sleep 1