BUG/MINOR: lua/cli: bad error message

Error message inherited from lua_appelet_tcp copy/paste.

Should be backported in 1.7
This commit is contained in:
Thierry FOURNIER 2016-12-16 11:14:06 +01:00 committed by Willy Tarreau
parent 18d0990a5d
commit ffbf569edb

View File

@ -6629,7 +6629,7 @@ static int hlua_cli_parse_fct(char **args, struct appctx *appctx, void *private)
*/
appctx->ctx.hlua_cli.task = task_new();
if (!appctx->ctx.hlua_cli.task) {
SEND_ERR(NULL, "Lua applet tcp '%s': out of memory.\n", fcn->name);
SEND_ERR(NULL, "Lua cli '%s': out of memory.\n", fcn->name);
return 0;
}
appctx->ctx.hlua_cli.task->nice = 0;