Skip to content
Browse files

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 <psychon@znc.in>
  • Loading branch information...
1 parent 20e771c commit fbd8d69c50b4789d275addb5af227f5a10e4e665 @psychon psychon committed Feb 19, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 main.cpp
View
3 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;

0 comments on commit fbd8d69

Please sign in to comment.
Something went wrong with that request. Please try again.