'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 d79f61d..b534153 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 ) {