summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-06-18 18:40:23 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-06-18 18:40:23 +0200
commitb63974c2cb39705eacc4733ca7a376fde7d0921d (patch)
tree96910550dd38dfc144574a1881f3320dc0c503d2
parentf0b22b37f9554fa230a355fe2a1e45e5b59630f2 (diff)
downloadmonitoring-plugins-b63974c2cb39705eacc4733ca7a376fde7d0921d.tar.gz
plugins/runcmd.c: Remove superfluous newline
The puts(3) function already appends a newline character to the string.
-rw-r--r--plugins/runcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/runcmd.c b/plugins/runcmd.c
index 4352e603..1a7c904f 100644
--- a/plugins/runcmd.c
+++ b/plugins/runcmd.c
@@ -261,7 +261,7 @@ runcmd_timeout_alarm_handler (int signo)
261 size_t i; 261 size_t i;
262 262
263 if (signo == SIGALRM) 263 if (signo == SIGALRM)
264 puts(_("CRITICAL - Plugin timed out while executing system call\n")); 264 puts(_("CRITICAL - Plugin timed out while executing system call"));
265 265
266 if(np_pids) for(i = 0; i < maxfd; i++) { 266 if(np_pids) for(i = 0; i < maxfd; i++) {
267 if(np_pids[i] != 0) kill(np_pids[i], SIGKILL); 267 if(np_pids[i] != 0) kill(np_pids[i], SIGKILL);