From 9a3e7f9e8778c845c8752af657364928081f5220 Mon Sep 17 00:00:00 2001 From: Matthias Eble Date: Thu, 3 May 2007 20:43:50 +0000 Subject: 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 --- plugins/check_disk.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/check_disk.c') 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) if (argc > c && path == NULL) { se = np_add_parameter(&path_select_list, strdup(argv[c++])); + path_selected = true; set_all_thresholds(se); } -- cgit v1.2.3