daemon: exit with 0 when successful

This commit is contained in:
moneromooo-monero 2018-01-20 10:41:50 +00:00
parent 5f09d6c833
commit 78a2e15bea
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -287,7 +287,7 @@ int main(int argc, char const * argv[])
MINFO("Moving from main() into the daemonize now."); MINFO("Moving from main() into the daemonize now.");
return daemonizer::daemonize(argc, argv, daemonize::t_executor{}, vm); return daemonizer::daemonize(argc, argv, daemonize::t_executor{}, vm) ? 0 : 1;
} }
catch (std::exception const & ex) catch (std::exception const & ex)
{ {