diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 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; |