aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon.c b/daemon.c
index 5ae73ed6..58dee539 100644
--- a/daemon.c
+++ b/daemon.c
@@ -242,10 +242,8 @@ nottyDetach:
return(PS_IOERR);
}
-#ifdef HAVE_GETCWD
/* move to root directory, so we don't prevent filesystem unmounts */
chdir("/");
-#endif
/* set our umask to something reasonable (we hope) */
#if defined(DEF_UMASK)