aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/main.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-02-16 14:18:29 +0100
committerRiccardo Spagni <ric@spagni.net>2018-02-16 14:18:29 +0100
commit0bffd2ec6440af6dd9cd86682e647fccafb7c234 (patch)
tree2f60208ddb3557d14aa9b728a2d4130b41f8efd5 /src/daemon/main.cpp
parentMerge pull request #3160 (diff)
parentdaemon: exit with 0 when successful (diff)
downloadmonero-0bffd2ec6440af6dd9cd86682e647fccafb7c234.tar.xz
Merge pull request #3161
78a2e15b daemon: exit with 0 when successful (moneromooo-monero)
Diffstat (limited to 'src/daemon/main.cpp')
-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 f4d8fad5e..7bac2d3d8 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)
{