aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-20 10:41:50 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-20 13:34:32 +0000
commit78a2e15beadaa7cfeab48ab76df245b3949ccbe9 (patch)
treef0a564f0f12d2e9b1288fc8c781c7d9975f2d175
parentMerge pull request #3115 (diff)
downloadmonero-78a2e15beadaa7cfeab48ab76df245b3949ccbe9.tar.xz
daemon: exit with 0 when successful
-rw-r--r--src/daemon/main.cpp2
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)
{