From: skeezix Date: Thu, 19 Feb 2009 21:14:46 +0000 (-0500) Subject: 'Fix'; chdir /tmp is a good idea, but currently I'm using relative paths a lot so... X-Git-Tag: Release-2010-05/1~219 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bb8370494d684125e33d1874f8f6edebd36948c;p=pandora-libraries.git 'Fix'; chdir /tmp is a good idea, but currently I'm using relative paths a lot so that breaks my testing, when in daemon mode. Worry about it later. --- diff --git a/apps/pndnotifyd.c b/apps/pndnotifyd.c index d79f61d..b534153 100644 --- a/apps/pndnotifyd.c +++ b/apps/pndnotifyd.c @@ -73,7 +73,9 @@ int main ( int argc, char *argv[] ) { if ( g_daemon_mode ) { // set a CWD somewhere else +#if 0 chdir ( "/tmp" ); +#endif // detach from terminal if ( ( i = fork() ) < 0 ) {