diff --git a/asterisk.c b/asterisk.c index 8813c072277a1559529c91a873e5f11aacd56bf4..2b3f498dea7de68d24341f799b5d2e6b4f5101ca 100755 --- a/asterisk.c +++ b/asterisk.c @@ -1448,8 +1448,12 @@ int main(int argc, char *argv[]) buf[strlen(buf)-1] = '\0'; consolehandler((char *)buf); - } else - ast_cli(STDOUT_FILENO, "\nUse EXIT or QUIT to exist, or STOP NOW to shutdown Asterisk\n"); + } else { + 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 {