diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-09-08 14:25:20 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-09-08 14:28:42 +0200 |
commit | 59d2f6db757e42a9a0db02c01852de2d53847191 (patch) | |
tree | af68eaf85aa6d6ea43d2ea753638ef0c51865165 /bin/web | |
parent | 9d0614edbbcb5628e4d1b1424f7a426006e80c73 (diff) | |
download | gitlab-ce-59d2f6db757e42a9a0db02c01852de2d53847191.tar.gz |
Wrap arguments for `[ -z` in double quotes
Diffstat (limited to 'bin/web')
-rwxr-xr-x | bin/web | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ unicorn_config="$app_root/config/unicorn.rb" get_unicorn_pid() { local pid=$(cat $unicorn_pidfile) - if [ -z $pid ] ; then + if [ -z "$pid" ] ; then echo "Could not find a PID in $unicorn_pidfile" exit 1 fi |