diff options
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r-- | plugins/check_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index d8da02d6..95e84751 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c @@ -493,7 +493,7 @@ print_path (const char *mypath) 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; |