From: Arran Cudbard-Bell Date: Wed, 15 Apr 2020 19:50:04 +0000 (-0500) Subject: Use the token not the char X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38fb6acdfd0458398ac85bffebdf444b48d0c747;p=thirdparty%2Ffreeradius-server.git Use the token not the char --- diff --git a/src/modules/rlm_exec/rlm_exec.c b/src/modules/rlm_exec/rlm_exec.c index 9c4833a4f45..6eeebc43bdd 100644 --- a/src/modules/rlm_exec/rlm_exec.c +++ b/src/modules/rlm_exec/rlm_exec.c @@ -286,7 +286,7 @@ static int mod_instantiate(void *instance, CONF_SECTION *conf) /* * Parse the program to execute into a template. */ - MEM(inst->tmpl = tmpl_alloc(inst, TMPL_TYPE_EXEC, inst->program, strlen(inst->program), '`')); + MEM(inst->tmpl = tmpl_alloc(inst, TMPL_TYPE_EXEC, inst->program, strlen(inst->program), T_BACK_QUOTED_STRING)); slen = xlat_tokenize_argv(inst->tmpl, &inst->tmpl->tmpl_xlat, inst->program, strlen(inst->program), &(vp_tmpl_rules_t) { .dict_def = fr_dict_internal() });