From 0bb8370494d684125e33d1874f8f6edebd36948c Mon Sep 17 00:00:00 2001 From: skeezix Date: Thu, 19 Feb 2009 16:14:46 -0500 Subject: [PATCH] '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. --- apps/pndnotifyd.c | 2 ++ 1 file changed, 2 insertions(+) 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 ) { -- 2.39.5