diff options
-rw-r--r-- | src/inspircd.cpp | 2 | ||||
-rw-r--r-- | src/userprocess.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index aa40638e2..914e8d4be 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -189,7 +189,7 @@ InspIRCd::InspIRCd(int argc, char** argv) if (argc > i) { strlcpy(LOG_FILE,argv[i+1],MAXBUF); - printf("LOG: Setting logfile to %s",LOG_FILE); + printf("LOG: Setting logfile to %s\n",LOG_FILE); } else { diff --git a/src/userprocess.cpp b/src/userprocess.cpp index c53aaab0b..d40ba494b 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -380,6 +380,7 @@ void OpenLog(char** argv, int argc) printf("ERROR: Could not write to logfile %s, bailing!\n\n",Config->logpath.c_str()); Exit(ERROR); } + return; } Config->log_file = fopen(Config->logpath.c_str(),"a+"); if (!Config->log_file) |