X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-dnsconfd%2Fmain.c;h=d10374b83a858eec0aae36d8d2e986ab3b86f2ac;hb=81c60ecd26cd74fa7576b0331fe3edc3214e1b02;hp=1f3e3b8f2af1d1e007192a124e5e996bb40d738b;hpb=8bc7858318a61d998527212e0948a3c469922105;p=catta diff --git a/avahi-dnsconfd/main.c b/avahi-dnsconfd/main.c index 1f3e3b8..d10374b 100644 --- a/avahi-dnsconfd/main.c +++ b/avahi-dnsconfd/main.c @@ -396,7 +396,6 @@ static int parse_command_line(int argc, char *argv[]) { { NULL, 0, NULL, 0 } }; - opterr = 0; while ((c = getopt_long(argc, argv, "hDkVrc", long_options, NULL)) >= 0) { switch(c) { @@ -419,7 +418,6 @@ static int parse_command_line(int argc, char *argv[]) { command = DAEMON_CHECK; break; default: - fprintf(stderr, "Invalid command line argument: %s\n", argv[optind-1]); return -1; } }