Skip to content
Snippets Groups Projects
Commit 1a5aa53f authored by Matt O'Gorman's avatar Matt O'Gorman
Browse files

adding more output for shutdown. as per 6102

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ea06844b
No related branches found
No related tags found
No related merge requests found
......@@ -1096,6 +1096,7 @@ static int handle_shutdown_when_convenient(int fd, int argc, char *argv[])
{
if (argc != 3)
return RESULT_SHOWUSAGE;
ast_cli(fd, "Waiting for inactivity to perform halt\n");
quit_handler(0, 2 /* really nicely */, 1 /* safely */, 0 /* don't restart */);
return RESULT_SUCCESS;
}
......@@ -1120,6 +1121,7 @@ static int handle_restart_when_convenient(int fd, int argc, char *argv[])
{
if (argc != 3)
return RESULT_SHOWUSAGE;
ast_cli(fd, "Waiting for inactivity to perform restart\n");
quit_handler(0, 2 /* really nicely */, 1 /* safely */, 1 /* restart */);
return RESULT_SUCCESS;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment