From 389ca95682242a4b3d0524cfd18d6bc32125ee67 Mon Sep 17 00:00:00 2001 From: prozacx Date: Sun, 24 Apr 2005 06:15:36 +0000 Subject: [PATCH] Write pid before printing final status msg git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@180 726aef4b-f618-498e-8847-2d620e286838 --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 8fa72f25..66e8bfe9 100644 --- a/main.cpp +++ b/main.cpp @@ -170,8 +170,8 @@ int main(int argc, char** argv) { if (iPid > 0) { CUtils::PrintStatus(true, "[pid: " + CUtils::ToString(iPid) + "]"); - CUtils::PrintMessage("ZNC - by prozac@gmail.com"); pZNC->WritePidFile(iPid); + CUtils::PrintMessage("ZNC - by prozac@gmail.com"); exit(0); }