diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/background_jobs_sk | 2 | ||||
-rwxr-xr-x | bin/background_jobs_sk_cluster | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/background_jobs_sk b/bin/background_jobs_sk index fb7de0a6180..0aab69126b2 100755 --- a/bin/background_jobs_sk +++ b/bin/background_jobs_sk @@ -36,7 +36,7 @@ start_silent() start_sidekiq() { cmd="exec" - chpst=$(which chpst) + chpst=$(command -v chpst) if [ -n "$chpst" ]; then cmd="${cmd} ${chpst} -P" diff --git a/bin/background_jobs_sk_cluster b/bin/background_jobs_sk_cluster index b1d5fce204e..6188ec51420 100755 --- a/bin/background_jobs_sk_cluster +++ b/bin/background_jobs_sk_cluster @@ -43,7 +43,7 @@ restart() start_sidekiq() { cmd="exec" - chpst=$(which chpst) + chpst=$(command -v chpst) if [ -n "$chpst" ]; then cmd="${cmd} ${chpst} -P" |