Code

fixed backward incompatibility introduced in 1.4.8 where all partitions are selected,
[nagiosplug.git] / plugins / check_disk.c
index 4872efca77b6216c478b85702f918af8224da29d..c32c7ab3eb80e939c974c222dbab50b6a4f93285 100644 (file)
@@ -734,6 +734,7 @@ process_arguments (int argc, char **argv)
 
   if (argc > c && path == NULL) {
     se = np_add_parameter(&path_select_list, strdup(argv[c++]));
+    path_selected = true;
     set_all_thresholds(se);
   }