No subject


Thu Jan 23 05:21:41 UTC 2014


Index: check_disk.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_disk.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- check_disk.c	24 Nov 2004 00:46:38 -0000	1.46
+++ check_disk.c	25 Nov 2004 05:09:15 -0000	1.47
@@ -493,7 +493,7 @@
 int
 validate_arguments (uintmax_t w, uintmax_t c, double wp, double cp, char *mypath)
 {
-	if (w == 0 && c == 0 && wp < 0.0 && cp < 0.0) {
+	if (w < 0 && c < 0 && wp < 0.0 && cp < 0.0) {
 		printf (_("INPUT ERROR: No thresholds specified"));
 		print_path (mypath);
 		return ERROR;





More information about the Nagiosplugin-commits mailing list