Problem with expand result of exec-program

Alan DeKok aland at deployingradius.com
Thu Sep 23 13:19:54 CEST 2010


Juan Rodríguez wrote:
> Hi everybody!!
> Executing /aplicaciones/radius/bin/radius_ath.sh
> Exec-Program output:

  The program printed nothing.

> Exec-Program: returned: 1
> result 1
> expand: %{exec:/aplicaciones/radius/bin/radius_ath.sh} ->
> 
> The result of the program is "1" but the value of the expression is not
> expanded, and the attribute "mi-resultado-script" has always zero value.
> 
> Could you help me with this?

  Fix your program so that it prints something to the output.

  Alan DeKok.



More information about the Freeradius-Users mailing list