diff options
author | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-05-03 20:43:50 +0000 |
---|---|---|
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-05-03 20:43:50 +0000 |
commit | 9a3e7f9e8778c845c8752af657364928081f5220 (patch) | |
tree | b281c401a3e26d41dc8c021c8f856c5762a61ada /plugins | |
parent | 26a7d1c1bcc5df96f11bfe91781336b839e4d59b (diff) | |
download | monitoring-plugins-9a3e7f9e8778c845c8752af657364928081f5220.tar.gz |
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
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1706 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_disk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 4872efca..c32c7ab3 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 | ||