mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
* add log message when fork failed
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user