getopt bugfix

This commit is contained in:
nohar 2006-07-02 13:32:00 +00:00
parent dace58405f
commit e2e889d640
1 changed files with 1 additions and 1 deletions

View File

@ -902,7 +902,7 @@ int main(int argc, char **argv)
conf_global_log_file = stderr;
conf_pid_file = NULL;
while ((ch = getopt(argc, argv, "hnfs:")) != -1) {
while ((ch = getopt(argc, argv, "hnf:s:")) != -1) {
switch (ch) {
case 'f':
confpath = strdup(optarg);