summaryrefslogtreecommitdiff
path: root/bin/background_jobs
diff options
context:
space:
mode:
authorPavel Novitskiy <altusensix@gmail.com>2014-07-04 15:46:44 +0400
committerPavel Novitskiy <altusensix@gmail.com>2014-07-04 15:46:44 +0400
commit7dd0646e0d284050ee760c5dfa9ce69beecb9ed6 (patch)
tree621b3b2446c7c29a660ac48c9d81e1d8a538e3f8 /bin/background_jobs
parentb37247ac31b2365e8a7f557e7f6ee614d00628ea (diff)
downloadgitlab-ce-7dd0646e0d284050ee760c5dfa9ce69beecb9ed6.tar.gz
fix bash-ism
Diffstat (limited to 'bin/background_jobs')
-rwxr-xr-xbin/background_jobs2
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