summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 26a7d1c)
raw | patch | inline | side by side (parent: 26a7d1c)
author | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Thu, 3 May 2007 20:43:50 +0000 (20:43 +0000) | ||
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Thu, 3 May 2007 20:43:50 +0000 (20:43 +0000) |
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
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
ChangeLog | patch | blob | history | |
THANKS.in | patch | blob | history | |
plugins/check_disk.c | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 166b2a5cd5f8fbaf9471e16a4ddaf7c26eff48e2..7f6db96d28f02c3ead7b55d7009156b7a9baf76f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2007-05-03 22:34 psychotrahe
+
+ * plugins/check_disk.c: - Fix partition selection if if last
+ argument is a pathname/device without using -p
+
2007-04-10 08:17 dermoth
* po/: POTFILES.in, de.po, fr.po, nagios-plugins.pot: Add some
diff --git a/THANKS.in b/THANKS.in
index c9d604b4bf5d529326cbc3b3f2377479179b8856..b0ed31b7f3a232212e2c05b4fa8890ef415698da 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
Felix Frank
Denis Knauf
Matthias Flacke
+Emil Michles
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 4872efca77b6216c478b85702f918af8224da29d..c32c7ab3eb80e939c974c222dbab50b6a4f93285 100644 (file)
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
if (argc > c && path == NULL) {
se = np_add_parameter(&path_select_list, strdup(argv[c++]));
+ path_selected = true;
set_all_thresholds(se);
}