Browse Source

* add log message when fork failed

pull/317/head
hagen 9 years ago
parent
commit
1819bd910a
  1. 3
      DaemonLinux.cpp

3
DaemonLinux.cpp

@ -52,7 +52,10 @@ namespace i2p @@ -52,7 +52,10 @@ namespace i2p
::exit (EXIT_SUCCESS);
if (pid < 0) // error
{
LogPrint(eLogError, "Daemon: could not fork: ", strerror(errno));
return false;
}
// child
umask(0);

Loading…
Cancel
Save