summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2014-07-14 16:52:47 +0000
committerGreg Sabino Mullane2014-07-14 16:52:47 +0000
commitba8131278add03eb53ac539d22bdbde8c413b350 (patch)
tree16ac28990be7dc0fd6ad0de348881ca5ea05d670 /check_postgres.pl
parent2fef14b64f5c362b8684d2a53e6e8e7e9028f844 (diff)
Show OS on failure-to-parse errors
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index a8fdb97f8..60e86c3b3 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -2485,6 +2485,7 @@ sub run_command {
my $cline = (caller)[2];
my $args = join ' ' => @args;
warn "Version: $VERSION\n";
+ warn "OS: $^O\n";
warn "Action: $action\n";
warn "Calling line: $cline\n";
warn "Output: $line\n";