mirror of
https://github.com/osmarks/ngircd.git
synced 2025-11-10 18:53:00 +00:00
Display total number of served connections on daemon shutdown
This commit is contained in:
@@ -146,8 +146,8 @@ GLOBAL void
|
|||||||
Log_Exit( void )
|
Log_Exit( void )
|
||||||
{
|
{
|
||||||
/* Good Bye! */
|
/* Good Bye! */
|
||||||
if( NGIRCd_SignalRestart ) Log( LOG_NOTICE, "%s done (restarting).", PACKAGE_NAME );
|
Log(LOG_NOTICE, "%s done%s, served %lu connections.", PACKAGE_NAME,
|
||||||
else Log( LOG_NOTICE, "%s done.", PACKAGE_NAME );
|
NGIRCd_SignalRestart ? " (restarting)" : "", Conn_CountAccepted());
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if( Error_File[0] )
|
if( Error_File[0] )
|
||||||
|
|||||||
Reference in New Issue
Block a user