Style fixes, fix usage string.
This commit is contained in:
parent
d39b2e8208
commit
0de6990d53
@ -20,7 +20,7 @@
|
|||||||
* the Initial Developer. All Rights Reserved.
|
* the Initial Developer. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Contributor(s):
|
* Contributor(s):
|
||||||
* David PHAM-VAN <d.pham-van@ulteo.com> Ulteo SAS - http://www.ulteo.com
|
* David PHAM-VAN <d.pham-van@ulteo.com> Ulteo SAS - http://www.ulteo.com
|
||||||
*
|
*
|
||||||
* Alternatively, the contents of this file may be used under the terms of
|
* Alternatively, the contents of this file may be used under the terms of
|
||||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||||
@ -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