diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-05 03:45:44 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-05 03:45:44 +0000 |
commit | 2b0d443a1ff7931ae49c6e9af603ede96a3f4875 (patch) | |
tree | 6806122abbfbc61a5b119f901c840721f745bc67 | |
parent | 4e5b76040718320a32476ef0f6d5276b522f62f6 (diff) |
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
-rw-r--r-- | src/inspircd_io.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |