[Nagiosplug-checkins] nagiosplug/plugins check_dummy.c,1.17,1.18

Ton Voon tonvoon at users.sourceforge.net
Thu May 24 10:35:55 CEST 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23538

Modified Files:
	check_dummy.c 
Log Message:
Tests for check_dummy


Index: check_dummy.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_dummy.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- check_dummy.c	19 Oct 2006 00:25:16 -0000	1.17
+++ check_dummy.c	24 May 2007 08:35:53 -0000	1.18
@@ -84,8 +84,10 @@
     printf (_("UNKNOWN"));
     break;
   default:
+    printf (_("UNKNOWN"));
+    printf (": ");
     printf (_("Status %d is not a supported error state\n"), result);
-    break;
+    return STATE_UNKNOWN;
   }
 
   if (argc >= 3) 





More information about the Commits mailing list