Merge pull request #3161

78a2e15b daemon: exit with 0 when successful (moneromooo-monero)
release-v0.4.0.1
Riccardo Spagni 6 years ago
commit 0bffd2ec64
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -287,7 +287,7 @@ int main(int argc, char const * argv[])
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)
{

Loading…
Cancel
Save