diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-09-04 14:11:19 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-09-04 14:11:19 +0000 |
commit | 908b92d7ff4ad571963b71cf16518e7493571770 (patch) | |
tree | 664b524e23121e695162d8a865172fad76f72662 /daemon.c | |
parent | 1bded7d40bcbaea28103f81a7f8998f376cd4286 (diff) | |
download | fetchmail-908b92d7ff4ad571963b71cf16518e7493571770.tar.gz fetchmail-908b92d7ff4ad571963b71cf16518e7493571770.tar.bz2 fetchmail-908b92d7ff4ad571963b71cf16518e7493571770.zip |
Sunil Shetye's re-exec patch.
svn path=/trunk/; revision=3695
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -252,8 +252,10 @@ 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) |