Style fixes, fix usage string.
This commit is contained in:
parent
d39b2e8208
commit
0de6990d53
@ -227,8 +227,8 @@ int main(int argc, char* argv[]) {
|
||||
fprintf(stderr, "USAGE: %s"
|
||||
" [-l LISTENPORT]"
|
||||
" [-b LISTENADDRESS]"
|
||||
" [-f foreground]"
|
||||
" [-p PIDFILE]\n", argv[0]);
|
||||
" [-p PIDFILE]",
|
||||
" [-f]\n", argv[0]);
|
||||
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
@ -302,6 +302,7 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
|
||||
if (!foreground) {
|
||||
|
||||
/* Fork into background */
|
||||
daemon_pid = fork();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user