]> git.meshlink.io Git - catta/blobdiff - avahi-dnsconfd/main.c
Apply fedora init script fix from http://cvs.fedora.redhat.com/viewcvs/devel/avahi...
[catta] / avahi-dnsconfd / main.c
index d2fcf713a13ac19d115c92d97c0c365c6f5a26f2..d10374b83a858eec0aae36d8d2e986ab3b86f2ac 100644 (file)
@@ -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: %c\n", c);
                 return -1;
         }
     }