Merge pull request #3161

78a2e15b daemon: exit with 0 when successful (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-02-16 14:18:29 +01:00
commit 0bffd2ec64
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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)
{