mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-21 16:49:10 +01:00
fixed #724
This commit is contained in:
parent
0ad3078524
commit
5babfb0f1e
1 changed files with 3 additions and 5 deletions
|
@ -76,12 +76,10 @@ namespace i2p
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(__OpenBSD__)
|
|
||||||
// point std{in,out,err} descriptors to /dev/null
|
// point std{in,out,err} descriptors to /dev/null
|
||||||
stdin = freopen("/dev/null", "r", stdin);
|
freopen("/dev/null", "r", stdin);
|
||||||
stdout = freopen("/dev/null", "w", stdout);
|
freopen("/dev/null", "w", stdout);
|
||||||
stderr = freopen("/dev/null", "w", stderr);
|
freopen("/dev/null", "w", stderr);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// set proc limits
|
// set proc limits
|
||||||
|
|
Loading…
Add table
Reference in a new issue