mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00:00
* add log message when fork failed
This commit is contained in:
parent
43eecdbb3f
commit
1819bd910a
@ -52,7 +52,10 @@ namespace i2p
|
|||||||
::exit (EXIT_SUCCESS);
|
::exit (EXIT_SUCCESS);
|
||||||
|
|
||||||
if (pid < 0) // error
|
if (pid < 0) // error
|
||||||
|
{
|
||||||
|
LogPrint(eLogError, "Daemon: could not fork: ", strerror(errno));
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// child
|
// child
|
||||||
umask(0);
|
umask(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user