mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-18 23:16:37 +02:00
* add log message when fork failed
This commit is contained in:
parent
43eecdbb3f
commit
1819bd910a
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue