aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e033ef63a..2033518e3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -532,11 +532,8 @@ static bool read_config_file(const Settings &cmd_args)
static void init_log_streams(const Settings &cmd_args)
{
-#if RUN_IN_PLACE
- std::string log_filename = DEBUGFILE;
-#else
std::string log_filename = porting::path_user + DIR_DELIM + DEBUGFILE;
-#endif
+
if (cmd_args.exists("logfile"))
log_filename = cmd_args.get("logfile");