From: Michael Jumper Date: Fri, 25 May 2012 06:44:50 +0000 (-0700) Subject: Style fixes, fix usage string. X-Git-Url: http://git.alex.org.uk Style fixes, fix usage string. --- diff --git a/src/daemon.c b/src/daemon.c index 018f624..a727dc6 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -20,7 +20,7 @@ * the Initial Developer. All Rights Reserved. * * Contributor(s): - * David PHAM-VAN Ulteo SAS - http://www.ulteo.com + * David PHAM-VAN Ulteo SAS - http://www.ulteo.com * * 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 @@ -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();