summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index b5b2a095b..7fba47699 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -463,7 +463,7 @@ void InspIRCd::OpenLog(char** argv, int argc)
if (!Config->log_file)
{
printf("ERROR: Could not write to logfile %s: %s\n\n", Config->logpath.c_str(), strerror(errno));
- Exit(EXIT_STATUS_LOG);
+ exit(EXIT_STATUS_LOG);
}
this->Logger = new FileLogger(this, Config->log_file);