From fbd8d69c50b4789d275addb5af227f5a10e4e665 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 19 Feb 2011 13:51:58 +0100 Subject: [PATCH] Partly revert commit 7784492 "Don't force --foreground when compiled with --enable-debug" Instead, this is now wrapped in an #ifdef ALWAYS_RUN_IN_FOREGROUND, so that I can use ./configure CXXFLAGS="-DALWAYS_RUN_IN_FOREGROUND". Signed-off-by: Uli Schlachter --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index db4676f7..603f9807 100644 --- a/main.cpp +++ b/main.cpp @@ -108,6 +108,9 @@ int main(int argc, char** argv) { bool bMakePass = false; bool bAllowRoot = false; bool bForeground = false; +#ifdef ALWAYS_RUN_IN_FOREGROUND + bForeground = true; +#endif #ifdef HAVE_LIBSSL bool bMakePem = false;