]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
failed xlat / exec strings are empty strings
authorAlan T. DeKok <aland@freeradius.org>
Sun, 5 Dec 2021 13:03:48 +0000 (08:03 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 5 Dec 2021 13:10:55 +0000 (08:10 -0500)
commitc059cddb481b74cdee295405a0dbc5a693ca92d1
tree874b8be947a7747766cea7b708d99d58edd9d099
parent2893ca356d3a684776bca777199dff33023d5623
failed xlat / exec strings are empty strings

which allows

if ("${failed:...}" != "")

to pass. We also note that

if ("${failed:...}")

will also return true/false based on the exit status of the
xlat
src/lib/server/cond_eval.c
src/tests/keywords/if-failed-xlat [new file with mode: 0644]
src/tests/keywords/if-regex-match-named