summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork clair <kclair@riseup.net>2012-09-26 15:21:55 -0700
committerk clair <kclair@riseup.net>2012-09-26 15:21:55 -0700
commit3da142d5d7d22babd5dcfc412ccf1014fa2be95e (patch)
tree2a3da7ca43a455deaedb8963e355207cdf775115
parent6d6960713315ea52b12ca1d4cf696c3fb7c816fa (diff)
Revert "variable PASSENGER_STATUS does not need to be quoted with backticks."
in fact it does need to be quoted with backticks since it needs to be run! This reverts commit 6d6960713315ea52b12ca1d4cf696c3fb7c816fa.
-rwxr-xr-xfiles/munin/passenger_stats2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/munin/passenger_stats b/files/munin/passenger_stats
index 726cb6a..f06e88a 100755
--- a/files/munin/passenger_stats
+++ b/files/munin/passenger_stats
@@ -18,7 +18,7 @@ END
end
def output_values
- status = PASSENGER_STATUS
+ status = `#{PASSENGER_STATUS}`
unless $?.success?
$stderr.puts "failed executing passenger-status"
exit 1