summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index c758530..b0b0d2a 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -287,7 +287,7 @@ main (int argc, char **argv)
287 temp_list = temp_list->name_next; 287 temp_list = temp_list->name_next;
288 } 288 }
289 289
290 terminate (result, "DISK %s%s\n", state_text (result), output, details); 290 die (result, "DISK %s%s\n", state_text (result), output, details);
291 return STATE_UNKNOWN; 291 return STATE_UNKNOWN;
292} 292}
293 293
@@ -406,7 +406,7 @@ process_arguments (int argc, char **argv)
406 mult = (unsigned long)1024 * 1024 * 1024 * 1024; 406 mult = (unsigned long)1024 * 1024 * 1024 * 1024;
407 units = "TB"; 407 units = "TB";
408 } else { 408 } else {
409 terminate (STATE_UNKNOWN, _("unit type %s not known\n"), optarg); 409 die (STATE_UNKNOWN, _("unit type %s not known\n"), optarg);
410 } 410 }
411 break; 411 break;
412 case 'k': /* display mountpoint */ 412 case 'k': /* display mountpoint */