Hello all,
 
I am a newbie with freeradius and I have a very newbie question. How do
I check the return code of a module? What I am trying to do is the
following:
 
sql {
    ok = 1
    fail = 1
}
if (sql returned ok) {
    detail_success
    ...
}
elsif (sql returned fail) {
    detail_fail
    ...
}
else {
    detail_error
    ...
}
 
I cannot figure out how to check what sql returned. 
 
Thank you for any help.
 
George
 

Disclaimer
The information in this e-mail and any attachments is confidential. It is 
intended solely for the attention and use of the named addressee(s). If you are 
not the intended recipient, or person responsible for delivering this 
information to the intended recipient, please notify the sender immediately. 
Unless you are the intended recipient or his/her representative you are not 
authorized to, and must not, read, copy, distribute, use or retain this message 
or any part of it. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to