Thank you Alan.
I get this error now:
        expand: %{exec:/aplicaciones/radius/bin/radius_ath.sh} -> 1 
ERROR: Failed parsing value "1 " for attribute mi-resultado-script: Unknown 
value 1  for attribute mi-resultado-script

We can see a space after value 1. I've write in my script the line
echo 1

only to be sure, but this space appear again.
Could you help me with this?
Thanks again.


> Date: Thu, 23 Sep 2010 13:19:54 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: Problem with expand result of exec-program
> 
> 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.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
                                          
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to