]> git.openpandora.org Git - pandora-libraries.git/commitdiff
'Fix'; chdir /tmp is a good idea, but currently I'm using relative paths a lot so...
authorskeezix <skeezix@flotsam-vm.(none)>
Thu, 19 Feb 2009 21:14:46 +0000 (16:14 -0500)
committerskeezix <skeezix@flotsam-vm.(none)>
Thu, 19 Feb 2009 21:14:46 +0000 (16:14 -0500)
breaks my testing, when in daemon mode. Worry about it later.

apps/pndnotifyd.c

index d79f61daecea6670643d7c15e63638b3b81cf4d8..b5341530e089be0db2d05fd73e97f9381c514b12 100644 (file)
@@ -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 ) {