From 78a2e15beadaa7cfeab48ab76df245b3949ccbe9 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 20 Jan 2018 10:41:50 +0000 Subject: daemon: exit with 0 when successful --- src/daemon/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon') 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) { -- cgit v1.2.3