summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorburlex <burlex@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-08 21:44:30 +0000
committerburlex <burlex@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-08 21:44:30 +0000
commit7cca9f5d934e47bf57d8b48aee6d79c81d2c3c2c (patch)
tree35ba120d4b2560046ee324af9f26ac13c49383e2 /src
parent07120e5d4e6fef3f4bf9039663fd826fcad9cea8 (diff)
- 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
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp1
1 files changed, 1 insertions, 0 deletions
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);