From a6de62f166fdebe7a34f5f1de91383fd36b91101 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 24 May 2012 23:44:50 -0700 Subject: [PATCH] Style fixes, fix usage string. --- src/daemon.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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(); -- 1.7.10.4