mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-10 19:38:28 +01:00
fixed #1047. Return EXIT_FAILURE
This commit is contained in:
parent
be16545063
commit
c7db9010ad
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ int main( int argc, char* argv[] )
|
||||||
{
|
{
|
||||||
if (Daemon.start())
|
if (Daemon.start())
|
||||||
Daemon.run ();
|
Daemon.run ();
|
||||||
|
else
|
||||||
|
return EXIT_FAILURE;
|
||||||
Daemon.stop();
|
Daemon.stop();
|
||||||
}
|
}
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
|
Loading…
Add table
Reference in a new issue