mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
5157853af9
commit
74a3bca0f6
@ -61,7 +61,7 @@ void Utility::Daemonize(void) {
|
||||
throw_exception(PosixException("fork() failed", errno));
|
||||
|
||||
if (pid)
|
||||
exit(0);
|
||||
_exit(0);
|
||||
|
||||
fd = open("/dev/null", O_RDWR);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user