[Nagiosplug-checkins] nagiosplug/plugins check_disk.c,1.90,1.91

Matthias Eble psychotrahe at users.sourceforge.net
Thu May 3 22:43:53 CEST 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs16:/tmp/cvs-serv22453/plugins

Modified Files:
	check_disk.c 
Log Message:
fixed backward incompatibility introduced in 1.4.8 where all partitions are selected,
if path is specified as last argument (without using -p).
Thanks to Emil Michles (Emilis) on #nagios


Index: check_disk.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_disk.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- check_disk.c	30 Mar 2007 08:56:47 -0000	1.90
+++ check_disk.c	3 May 2007 20:43:50 -0000	1.91
@@ -734,6 +734,7 @@
 
   if (argc > c && path == NULL) {
     se = np_add_parameter(&path_select_list, strdup(argv[c++]));
+    path_selected = true;
     set_all_thresholds(se);
   }
 





More information about the Commits mailing list