diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-01-20 10:41:50 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-01-20 13:34:32 +0000 |
commit | 78a2e15beadaa7cfeab48ab76df245b3949ccbe9 (patch) | |
tree | f0a564f0f12d2e9b1288fc8c781c7d9975f2d175 /src/daemon/main.cpp | |
parent | Merge pull request #3115 (diff) | |
download | monero-78a2e15beadaa7cfeab48ab76df245b3949ccbe9.tar.xz |
daemon: exit with 0 when successful
Diffstat (limited to '')
-rw-r--r-- | src/daemon/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index 6ac47fcb2..ae5e71a67 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -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) { |