mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
similar patch for verbose vs debug with minor changes
bug 2617 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1185,7 +1185,7 @@ static void quit_handler(int num, int nice, int safeshutdown, int restart)
|
||||
/* Called on exit */
|
||||
if (option_verbose && ast_opt_console)
|
||||
ast_verbose("Asterisk %s ending (%d).\n", ast_active_channels() ? "uncleanly" : "cleanly", num);
|
||||
else if (option_debug)
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "Asterisk ending (%d).\n", num);
|
||||
manager_event(EVENT_FLAG_SYSTEM, "Shutdown", "Shutdown: %s\r\nRestart: %s\r\n", ast_active_channels() ? "Uncleanly" : "Cleanly", restart ? "True" : "False");
|
||||
if (ast_socket > -1) {
|
||||
|
Reference in New Issue
Block a user