fix bash-ism

This commit is contained in:
Pavel Novitskiy 2014-07-04 15:46:44 +04:00
parent b37247ac31
commit 7dd0646e0d
1 changed files with 1 additions and 1 deletions

View File

@ -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