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)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
|