From 2b0d443a1ff7931ae49c6e9af603ede96a3f4875 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 5 Apr 2005 03:45:44 +0000 Subject: If writing the PID file fails, it is now written to the log git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@980 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd_io.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 636710b8e..4d61d4105 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -92,6 +92,7 @@ void WritePID(std::string filename) else { printf("Failed to write PID-file '%s', exiting.\n",filename.c_str()); + log(DEFAULT,"Failed to write PID-file '%s', exiting.",filename.c_str()); Exit(0); } } -- cgit v1.2.3