[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: how to check module return codes?
From:       Alan DeKok <aland () deployingradius ! com>
Date:       2008-03-31 9:43:05
Message-ID: 47F0B229.5080501 () deployingradius ! com
[Download RAW message or body]

Papadopoulos Georgios wrote:
> I am a newbie with freeradius and I have a very newbie question. How do
> I check the return code of a module?

$ man unlang

> What I am trying to do is the
> following:
>  
> sql {
>     ok = 1
>     fail = 1
> }
> if (sql returned ok) {

  This should be "if (ok) {"

  It's documented in the "man" page.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic