From 7cca9f5d934e47bf57d8b48aee6d79c81d2c3c2c Mon Sep 17 00:00:00 2001 From: burlex Date: Fri, 8 Jun 2007 21:44:30 +0000 Subject: - Eek, gotta make it look the same as *nix! Windows will now print the process id of the new "forked" process. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7259 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 653e8f5f0..94da7baec 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -348,6 +348,7 @@ void InspIRCd::QuickExit(int status) bool InspIRCd::DaemonSeed() { #ifdef WINDOWS + printf_c("InspIRCd Process ID: \033[1;32m%lu\033[0m\n", GetCurrentProcessId()); return true; #else signal(SIGTERM, InspIRCd::QuickExit); -- cgit v1.2.3