summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r--plugins/check_ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 2198e32b..bd7911d7 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -403,7 +403,7 @@ run_ping (const char *cmd, const char *addr)
403 int result = STATE_UNKNOWN; 403 int result = STATE_UNKNOWN;
404 404
405 if ((child_process = spopen (cmd)) == NULL) 405 if ((child_process = spopen (cmd)) == NULL)
406 die (STATE_UNKNOWN, _("Cannot open pipe: %s"), cmd); 406 die (STATE_UNKNOWN, _("Could not open pipe: %s\n"), cmd);
407 407
408 child_stderr = fdopen (child_stderr_array[fileno (child_process)], "r"); 408 child_stderr = fdopen (child_stderr_array[fileno (child_process)], "r");
409 if (child_stderr == NULL) 409 if (child_stderr == NULL)