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"
|
fprintf(stderr, "USAGE: %s"
|
||||||
" [-l LISTENPORT]"
|
" [-l LISTENPORT]"
|
||||||
" [-b LISTENADDRESS]"
|
" [-b LISTENADDRESS]"
|
||||||
" [-f foreground]"
|
" [-p PIDFILE]",
|
||||||
" [-p PIDFILE]\n", argv[0]);
|
" [-f]\n", argv[0]);
|
||||||
|
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
@ -302,6 +302,7 @@ int main(int argc, char* argv[]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!foreground) {
|
if (!foreground) {
|
||||||
|
|
||||||
/* Fork into background */
|
/* Fork into background */
|
||||||
daemon_pid = fork();
|
daemon_pid = fork();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user