X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fcheck_nwstat.c;h=de8a620069aca2bbee411ec48449cfbbdbe66437;hb=575e82a500d1b097b70883a8e50f4b92451d8270;hp=94f0543b2c89f92632bed5a43f6de42334179f55;hpb=48c14d20bd4112826e4ac7775b847f8015c3c610;p=nagiosplug.git diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c index 94f0543..de8a620 100644 --- a/plugins/check_nwstat.c +++ b/plugins/check_nwstat.c @@ -763,7 +763,7 @@ int process_arguments(int argc, char **argv) { if (is_intnonneg(optarg)) server_port=atoi(optarg); else - terminate(STATE_UNKNOWN,_("Server port an integer (seconds)\nType '%s -h' for additional help\n"),progname); + die(STATE_UNKNOWN,_("Server port an integer (seconds)\nType '%s -h' for additional help\n"),progname); break; case 'v': if (strlen(optarg)<3)