mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
daemon: exit with 0 when successful
This commit is contained in:
parent
5f09d6c833
commit
78a2e15bea
@ -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
Block a user