Merge pull request #3161
78a2e15b
daemon: exit with 0 when successful (moneromooo-monero)
This commit is contained in:
commit
0bffd2ec64
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue