- 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
This commit is contained in:
burlex 2007-06-08 21:44:30 +00:00
parent 07120e5d4e
commit 7cca9f5d93

View File

@ -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);