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
1 changed files with 1 additions and 1 deletions

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