From 1948d92c5fe7b610c05406feac30e97dd415a031 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Tue, 7 Apr 2015 16:23:01 -0300 Subject: [PATCH] script-production: add spaces between pids on running method --- script/production | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/production b/script/production index 2299741..e11bc1a 100755 --- a/script/production +++ b/script/production @@ -85,7 +85,7 @@ environments_loop() { } do_running() { - pids=$(cat tmp/pids/thin.*.pid 2>/dev/null || true) + pids=$(sed "s/.*/& /" tmp/pids/thin.*.pid | tr -d '\n' 2>/dev/null || true) # passes if any of $pids exist, fails otherwise kill -0 $pids > /dev/null 2>&1 } -- libgit2 0.21.2