Browse Source

fixed #1047. Return EXIT_FAILURE

pull/1076/head
orignal 7 years ago
parent
commit
c7db9010ad
  1. 2
      daemon/i2pd.cpp

2
daemon/i2pd.cpp

@ -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…
Cancel
Save