From 9506ae8695b42d665babce2e3c3daebb66b76aa7 Mon Sep 17 00:00:00 2001 From: Kory Draughn Date: Sat, 9 Nov 2024 10:52:05 -0500 Subject: [PATCH] squash w/ startup/shutdown. Fix bug with incompatible options on startup. --- server/main_server/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main_server/src/main.cpp b/server/main_server/src/main.cpp index 20c6d2d1f8..274238596b 100644 --- a/server/main_server/src/main.cpp +++ b/server/main_server/src/main.cpp @@ -177,7 +177,7 @@ auto main(int _argc, char* _argv[]) -> int } if (vm.count("daemonize") > 0) { - if (vm.count("stdout") > 0) { + if (write_to_stdout) { fmt::print(stderr, "Error: --daemonize and --stdout are incompatible.\n"); return 1; }