[monitoring-plugins] plugins/runcmd.c: Remove superfluous newline

Holger Weiss git at monitoring-plugins.org
Wed Jun 18 18:50:08 CEST 2014


 Module: monitoring-plugins
 Branch: master
 Commit: b63974c2cb39705eacc4733ca7a376fde7d0921d
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Wed Jun 18 18:40:23 2014 +0200
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b63974c

plugins/runcmd.c: Remove superfluous newline

The puts(3) function already appends a newline character to the string.

---

 plugins/runcmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/runcmd.c b/plugins/runcmd.c
index 4352e60..1a7c904 100644
--- a/plugins/runcmd.c
+++ b/plugins/runcmd.c
@@ -261,7 +261,7 @@ runcmd_timeout_alarm_handler (int signo)
 	size_t i;
 
 	if (signo == SIGALRM)
-		puts(_("CRITICAL - Plugin timed out while executing system call\n"));
+		puts(_("CRITICAL - Plugin timed out while executing system call"));
 
 	if(np_pids) for(i = 0; i < maxfd; i++) {
 		if(np_pids[i] != 0) kill(np_pids[i], SIGKILL);



More information about the Commits mailing list