diff options
-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 d8da02d..95e8475 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -493,7 +493,7 @@ print_path (const char *mypath) | |||
493 | int | 493 | int |
494 | validate_arguments (uintmax_t w, uintmax_t c, double wp, double cp, char *mypath) | 494 | validate_arguments (uintmax_t w, uintmax_t c, double wp, double cp, char *mypath) |
495 | { | 495 | { |
496 | if (w == 0 && c == 0 && wp < 0.0 && cp < 0.0) { | 496 | if (w < 0 && c < 0 && wp < 0.0 && cp < 0.0) { |
497 | printf (_("INPUT ERROR: No thresholds specified")); | 497 | printf (_("INPUT ERROR: No thresholds specified")); |
498 | print_path (mypath); | 498 | print_path (mypath); |
499 | return ERROR; | 499 | return ERROR; |