summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2014-07-03 11:24:35 +0000
committerGreg Sabino Mullane2014-07-03 11:24:35 +0000
commit5bccf3050a00aee74a9292d9b4a2131a6c777bcf (patch)
tree761ca0adbe322ed8bee9a08677e03f8060ca805f /check_postgres.pl
parentfada3d6281110bdbe17aa8811d300102fcd5fe0f (diff)
parent13597d9ebcec190d9cc97be0dcfee8cfa904ecd8 (diff)
Merge branch 'space_error' of https://github.com/jeffjanes/check_postgres
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index f3de959b8..3ccaf6247 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -2488,7 +2488,7 @@ sub run_command {
warn "Action: $action\n";
warn "Calling line: $cline\n";
warn "Output: $line\n";
- $args =~ s/ -c (.+)/-c "$1"/s;
+ $args =~ s/ -c (.+)/ -c "$1"/s;
warn "Command: $PSQL $args\n";
## Last thing is to see if we can grab the PG version
if (! $opt{stop_looping}) {