From c7db9010ad36cbe11d503de186a23bf746b3e3af Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 23 Jan 2018 11:01:50 -0500 Subject: [PATCH] fixed #1047. Return EXIT_FAILURE --- daemon/i2pd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/i2pd.cpp b/daemon/i2pd.cpp index 589274f5..8718ad0c 100644 --- a/daemon/i2pd.cpp +++ b/daemon/i2pd.cpp @@ -22,6 +22,8 @@ int main( int argc, char* argv[] ) { if (Daemon.start()) Daemon.run (); + else + return EXIT_FAILURE; Daemon.stop(); } return EXIT_SUCCESS;