summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9fb440a)
raw | patch | inline | side by side (parent: 9fb440a)
author | Matthew Kent <mattkent@users.sourceforge.net> | |
Thu, 25 Nov 2004 05:09:15 +0000 (05:09 +0000) | ||
committer | Matthew Kent <mattkent@users.sourceforge.net> | |
Thu, 25 Nov 2004 05:09:15 +0000 (05:09 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@943 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_disk.c | patch | blob | history |
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index d8da02d68bf1326dbed91d4f3bd8bcdffda74337..95e84751275f3458ae18bc4ff1051ef220f15834 100644 (file)
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
int
validate_arguments (uintmax_t w, uintmax_t c, double wp, double cp, char *mypath)
{
- if (w == 0 && c == 0 && wp < 0.0 && cp < 0.0) {
+ if (w < 0 && c < 0 && wp < 0.0 && cp < 0.0) {
printf (_("INPUT ERROR: No thresholds specified"));
print_path (mypath);
return ERROR;