diff options
Diffstat (limited to 'plugins/check_overcr.c')
| -rw-r--r-- | plugins/check_overcr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_overcr.c b/plugins/check_overcr.c index 6682d8e6..fea87dae 100644 --- a/plugins/check_overcr.c +++ b/plugins/check_overcr.c | |||
| @@ -85,7 +85,7 @@ main (int argc, char **argv) | |||
| 85 | bindtextdomain (PACKAGE, LOCALEDIR); | 85 | bindtextdomain (PACKAGE, LOCALEDIR); |
| 86 | textdomain (PACKAGE); | 86 | textdomain (PACKAGE); |
| 87 | 87 | ||
| 88 | if (process_arguments (argc, argv) == ERROR) | 88 | if (process_arguments (argc, argv) != OK) |
| 89 | usage (_("check_overcr: could not parse arguments\n")); | 89 | usage (_("check_overcr: could not parse arguments\n")); |
| 90 | 90 | ||
| 91 | /* initialize alarm signal handling */ | 91 | /* initialize alarm signal handling */ |
| @@ -180,7 +180,7 @@ main (int argc, char **argv) | |||
| 180 | /* error if we couldn't find the info for the disk */ | 180 | /* error if we couldn't find the info for the disk */ |
| 181 | if (found_disk == FALSE) | 181 | if (found_disk == FALSE) |
| 182 | die (STATE_CRITICAL, | 182 | die (STATE_CRITICAL, |
| 183 | "Error: Disk '%s' non-existent or not mounted", | 183 | "CRITICAL - Disk '%s' non-existent or not mounted", |
| 184 | disk_name); | 184 | disk_name); |
| 185 | 185 | ||
| 186 | if (check_critical_value == TRUE && (percent_used_disk_space >= critical_value)) | 186 | if (check_critical_value == TRUE && (percent_used_disk_space >= critical_value)) |
| @@ -339,7 +339,7 @@ process_arguments (int argc, char **argv) | |||
| 339 | print_help (); | 339 | print_help (); |
| 340 | exit (STATE_OK); | 340 | exit (STATE_OK); |
| 341 | case 'V': /* version */ | 341 | case 'V': /* version */ |
| 342 | print_revision (progname, "$Revision$"); | 342 | print_revision (progname, revision); |
| 343 | exit (STATE_OK); | 343 | exit (STATE_OK); |
| 344 | case 'H': /* hostname */ | 344 | case 'H': /* hostname */ |
| 345 | server_address = optarg; | 345 | server_address = optarg; |
