[nagiosplug] check_procs: Remove superfluous newline character

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Wed Nov 14 21:11:22 CET 2012


 Module: nagiosplug
 Branch: master
 Commit: 92b937e49ef9415aab0a049791ba99261da5882b
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Wed Nov 14 20:53:47 2012 +0100
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=92b937e

check_procs: Remove superfluous newline character

---

 plugins/check_procs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index acb256b..00b032a 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -300,7 +300,7 @@ main (int argc, char **argv)
 		printf (" [%s]", fails);
 
 	if (metric == METRIC_PROCS)
-		printf (" | procs=%d;%s;%s;0;\n", procs,
+		printf (" | procs=%d;%s;%s;0;", procs,
 				warning_range ? warning_range : "",
 				critical_range ? critical_range : "");
 	else





More information about the Commits mailing list