fixed #1047. Return EXIT_FAILURE

This commit is contained in:
orignal 2018-01-23 11:01:50 -05:00
parent be16545063
commit c7db9010ad

View File

@ -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;