diff options
author | Pavel Novitskiy <altusensix@gmail.com> | 2014-07-04 15:46:44 +0400 |
---|---|---|
committer | Pavel Novitskiy <altusensix@gmail.com> | 2014-07-04 15:46:44 +0400 |
commit | 7dd0646e0d284050ee760c5dfa9ce69beecb9ed6 (patch) | |
tree | 621b3b2446c7c29a660ac48c9d81e1d8a538e3f8 /bin/background_jobs | |
parent | b37247ac31b2365e8a7f557e7f6ee614d00628ea (diff) | |
download | gitlab-ce-7dd0646e0d284050ee760c5dfa9ce69beecb9ed6.tar.gz |
fix bash-ism
Diffstat (limited to 'bin/background_jobs')
-rwxr-xr-x | bin/background_jobs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/background_jobs b/bin/background_jobs index 45561eddfda..b770f4e0335 100755 --- a/bin/background_jobs +++ b/bin/background_jobs @@ -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 |