From: Alan T. DeKok Date: Mon, 25 Jul 2022 19:58:47 +0000 (-0400) Subject: return FAIL on fail, not YIELD X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2bb60e4289caf042768fe5c7912e791c51e3114;p=thirdparty%2Ffreeradius-server.git return FAIL on fail, not YIELD --- diff --git a/src/lib/unlang/xlat_builtin.c b/src/lib/unlang/xlat_builtin.c index 89066f4f113..b8f0c457b09 100644 --- a/src/lib/unlang/xlat_builtin.c +++ b/src/lib/unlang/xlat_builtin.c @@ -1564,7 +1564,7 @@ static xlat_action_t xlat_eval_resume(UNUSED TALLOC_CTX *ctx, UNUSED fr_dcursor_ UNUSED request_t *request, UNUSED fr_value_box_list_t *in) { xlat_eval_rctx_t *rctx = talloc_get_type_abort(xctx->rctx, xlat_eval_rctx_t); - xlat_action_t xa = rctx->last_success ? XLAT_ACTION_DONE : XLAT_ACTION_YIELD; + xlat_action_t xa = rctx->last_success ? XLAT_ACTION_DONE : XLAT_ACTION_FAIL; talloc_free(rctx);