getopt bugfix
This commit is contained in:
parent
dace58405f
commit
e2e889d640
@ -902,7 +902,7 @@ int main(int argc, char **argv)
|
|||||||
conf_global_log_file = stderr;
|
conf_global_log_file = stderr;
|
||||||
conf_pid_file = NULL;
|
conf_pid_file = NULL;
|
||||||
|
|
||||||
while ((ch = getopt(argc, argv, "hnfs:")) != -1) {
|
while ((ch = getopt(argc, argv, "hnf:s:")) != -1) {
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'f':
|
case 'f':
|
||||||
confpath = strdup(optarg);
|
confpath = strdup(optarg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user