mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 05:38:11 +00:00
don't tell people to exit/quit when it's not a valid command anymore
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1448,8 +1448,12 @@ int main(int argc, char *argv[])
|
|||||||
buf[strlen(buf)-1] = '\0';
|
buf[strlen(buf)-1] = '\0';
|
||||||
|
|
||||||
consolehandler((char *)buf);
|
consolehandler((char *)buf);
|
||||||
} else
|
} else {
|
||||||
ast_cli(STDOUT_FILENO, "\nUse EXIT or QUIT to exist, or STOP NOW to shutdown Asterisk\n");
|
if (option_remote)
|
||||||
|
ast_cli(STDOUT_FILENO, "\nUse EXIT or QUIT to exit the asterisk console\n");
|
||||||
|
else
|
||||||
|
ast_cli(STDOUT_FILENO, "\nUse STOP NOW to shutdown Asterisk\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user