Fixed argument parsing in errlogger and multifscgi.
[ashd.git] / src / errlogger.c
index 9e7692c..bc0d0e5 100644 (file)
@@ -58,7 +58,7 @@ int main(int argc, char **argv)
     name = NULL;
     prio = LOG_WARNING;
     fac = LOG_DAEMON;
-    while((c = getopt(argc, argv, "hn:p:f:")) >= 0) {
+    while((c = getopt(argc, argv, "+hn:p:f:")) >= 0) {
        switch(c) {
        case 'n':
            name = optarg;