mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 04:36:11 +10:00
Wrap arguments for [ -z in double quotes
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ start_sidekiq()
|
||||
load_ok()
|
||||
{
|
||||
sidekiq_pid=$(cat $sidekiq_pidfile)
|
||||
if [ -z $sidekiq_pid ] ; then
|
||||
if [ -z "$sidekiq_pid" ] ; then
|
||||
warn "Could not find a PID in $sidekiq_pidfile"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user