mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
Write pid before printing final status msg
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@180 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user