From 741395074cb7ba238343f8104dccc3dd689c40f1 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 30 Apr 2022 16:17:35 +0100 Subject: Enable writing a pid file on Windows. --- src/inspircd.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 8df74c5b3..2e6504642 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -438,7 +438,6 @@ void InspIRCd::Cleanup() void InspIRCd::WritePID() { -#ifndef _WIN32 if (!ServerInstance->Config->cmdline.writepid) { this->Logs.Log("STARTUP", LOG_DEFAULT, "--nopid specified on command line; PID file not written."); @@ -458,7 +457,6 @@ void InspIRCd::WritePID() this->Logs.Log("STARTUP", LOG_DEFAULT, "Failed to write PID-file '%s', exiting.", pidfile.c_str()); Exit(EXIT_STATUS_PID); } -#endif } InspIRCd::InspIRCd(int argc, char** argv) -- cgit v1.3.1-10-gc9f91