leopold wrote: > No luck. > For some reason unlang does not catch SQL fail return code.
OK... > Only if there is no failure I see it is evaluating return code it prints in > debug mode > ++? if (fail) > ? Evaluating (fail) -> FALSE And you deleted the lines JUST ABOVE THAT which gave you the value of the return code. Why? > But when SQL return really fails it does not evaluate this condition and > nothing is printed in debug mode. No. The two-line output you included above shows that it *IS* evaluating the condition, but that for some reason it doesn't match. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

