diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-01-31 06:09:06 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-01-31 06:09:06 +0000 |
commit | c70d8528fccd50a8af1843e6c8e0da43f56f1f35 (patch) | |
tree | 1f6ac62e48f81a9971fe43f5ca47d7c2baca6be0 /daemon.c | |
parent | 42a5271a91208b49b2440bcd5a6367e6bc4f00e4 (diff) | |
download | fetchmail-c70d8528fccd50a8af1843e6c8e0da43f56f1f35.tar.gz fetchmail-c70d8528fccd50a8af1843e6c8e0da43f56f1f35.tar.bz2 fetchmail-c70d8528fccd50a8af1843e6c8e0da43f56f1f35.zip |
Label save closes.
svn path=/trunk/; revision=2723
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -135,7 +135,7 @@ daemonize (const char *logfile, void (*termhook)(int)) /* lose controlling tty */ if ((fd = open("/dev/tty", O_RDWR)) >= 0) { ioctl(fd, TIOCNOTTY, (char *) 0); - close(fd); + close(fd); /* not checking should be safe, there were no writes */ } #else /* SVR3 and older */ /* change process group */ @@ -165,7 +165,7 @@ nottyDetach: for (fd = 19; fd >= 0; fd--) #endif { - close(fd); + close(fd); /* not checking this should be safe, no writes */ } /* Reopen stdin descriptor on /dev/null */ |