mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
FS-5519 --resolve
This commit is contained in:
parent
05b1b35121
commit
0e52fe5689
@ -336,7 +336,6 @@ static void daemonize(int *fds)
|
||||
if (fds) {
|
||||
setsid();
|
||||
}
|
||||
return;
|
||||
/* redirect std* to null */
|
||||
fd = open("/dev/null", O_RDONLY);
|
||||
if (fd != 0) {
|
||||
@ -355,6 +354,7 @@ static void daemonize(int *fds)
|
||||
dup2(fd, 2);
|
||||
close(fd);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user