Commit 1948d92c5fe7b610c05406feac30e97dd415a031
1 parent
ef9d58aa
Exists in
staging
and in
42 other branches
script-production: add spaces between pids on running method
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
script/production
| ... | ... | @@ -85,7 +85,7 @@ environments_loop() { |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | do_running() { |
| 88 | - pids=$(cat tmp/pids/thin.*.pid 2>/dev/null || true) | |
| 88 | + pids=$(sed "s/.*/& /" tmp/pids/thin.*.pid | tr -d '\n' 2>/dev/null || true) | |
| 89 | 89 | # passes if any of $pids exist, fails otherwise |
| 90 | 90 | kill -0 $pids > /dev/null 2>&1 |
| 91 | 91 | } | ... | ... |