Print initialisation notice before forking

This commit is contained in:
Aaron Jones 2016-08-24 16:43:45 +00:00
parent 856ecd0011
commit 545668de33
No known key found for this signature in database
GPG key ID: EC6F86EE9CD840B5

View file

@ -586,11 +586,11 @@ main(int argc, char *argv[])
{ {
check_pidfile(pidFileName); check_pidfile(pidFileName);
if(!server_state_foreground)
make_daemon();
inotice("starting %s ...", ircd_version); inotice("starting %s ...", ircd_version);
inotice("%s", rb_lib_version()); inotice("%s", rb_lib_version());
if(!server_state_foreground)
make_daemon();
} }
/* Init the event subsystem */ /* Init the event subsystem */