Commit 7dd0646e authored by Pavel Novitskiy's avatar Pavel Novitskiy

fix bash-ism

parent b37247ac
...@@ -43,7 +43,7 @@ start_sidekiq() ...@@ -43,7 +43,7 @@ start_sidekiq()
load_ok() load_ok()
{ {
sidekiq_pid=$(cat $sidekiq_pidfile) sidekiq_pid=$(cat $sidekiq_pidfile)
if [[ -z $sidekiq_pid ]] ; then if [ -z $sidekiq_pid ] ; then
warn "Could not find a PID in $sidekiq_pidfile" warn "Could not find a PID in $sidekiq_pidfile"
exit 0 exit 0
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment