From ccff2e420637c932f13d5aceac6c678836d2605c Mon Sep 17 00:00:00 2001 From: staffcvs <> Date: Wed, 20 Feb 2008 18:49:11 +0000 Subject: *** empty log message *** --- apps/sympathy.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'apps/sympathy.c') diff --git a/apps/sympathy.c b/apps/sympathy.c index a754b3d..94105a3 100644 --- a/apps/sympathy.c +++ b/apps/sympathy.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.9 2008/02/20 18:49:11 staffcvs + * *** empty log message *** + * * Revision 1.8 2008/02/20 18:33:37 james * *** empty log message *** * @@ -43,6 +46,9 @@ static char rcsid[] = "$Id$"; #include #include #include +#include +#include +#include #include "mainloop.h" @@ -396,6 +402,11 @@ main (int argc, char *argv[]) oflags['p']++; } + if (oflags['s'] && !oflags['F']) + { + daemon (1, 0); /*incase socket is relative path, unlink then will fail */ + } + if (oflags['s'] || oflags['t']) { @@ -448,10 +459,6 @@ main (int argc, char *argv[]) } - if (oflags['s'] && !oflags['F']) - { - daemon (1, 0); /*incase socket is relative path, unlink then will fail */ - } if (oflags['c'] || oflags['t']) { -- cgit v1.2.3