diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | THANKS.in | 1 | ||||
-rw-r--r-- | plugins/check_disk.c | 1 |
3 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ | |||
1 | 2007-05-03 22:34 psychotrahe | ||
2 | |||
3 | * plugins/check_disk.c: - Fix partition selection if if last | ||
4 | argument is a pathname/device without using -p | ||
5 | |||
1 | 2007-04-10 08:17 dermoth | 6 | 2007-04-10 08:17 dermoth |
2 | 7 | ||
3 | * po/: POTFILES.in, de.po, fr.po, nagios-plugins.pot: Add some | 8 | * po/: POTFILES.in, de.po, fr.po, nagios-plugins.pot: Add some |
@@ -217,3 +217,4 @@ Mark Favas | |||
217 | Felix Frank | 217 | Felix Frank |
218 | Denis Knauf | 218 | Denis Knauf |
219 | Matthias Flacke | 219 | Matthias Flacke |
220 | Emil Michles | ||
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 4872efc..c32c7ab 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -734,6 +734,7 @@ process_arguments (int argc, char **argv) | |||
734 | 734 | ||
735 | if (argc > c && path == NULL) { | 735 | if (argc > c && path == NULL) { |
736 | se = np_add_parameter(&path_select_list, strdup(argv[c++])); | 736 | se = np_add_parameter(&path_select_list, strdup(argv[c++])); |
737 | path_selected = true; | ||
737 | set_all_thresholds(se); | 738 | set_all_thresholds(se); |
738 | } | 739 | } |
739 | 740 | ||