Make the error messages consistent
This commit is contained in:
parent
75de805f41
commit
cfdbe3bbc2
@ -52,7 +52,7 @@ int udp_global_initialize(struct state_conf * zconf) {
|
|||||||
args = strdup(zconf->probe_args);
|
args = strdup(zconf->probe_args);
|
||||||
c = strchr(args, ':');
|
c = strchr(args, ':');
|
||||||
if (! c) {
|
if (! c) {
|
||||||
fprintf(stderr, "error: unknown UDP probe specification (expected type:value, like file:/path or text:STRING or hex:01020304)\n");
|
fprintf(stderr, "error: unknown UDP probe specification (expected file:/path, text:STRING, or hex:01020304)\n");
|
||||||
free(args);
|
free(args);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user