FS-5519 --resolve

This commit is contained in:
Anthony Minessale 2013-06-17 19:43:08 -05:00
parent 3634d4a0e7
commit 3ac4e77384
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,6 @@ static void daemonize(int *fds)
if (fds) { if (fds) {
setsid(); setsid();
} }
return;
/* redirect std* to null */ /* redirect std* to null */
fd = open("/dev/null", O_RDONLY); fd = open("/dev/null", O_RDONLY);
if (fd != 0) { if (fd != 0) {
@ -355,6 +354,7 @@ static void daemonize(int *fds)
dup2(fd, 2); dup2(fd, 2);
close(fd); close(fd);
} }
return;
} }
#endif #endif