<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Thank you Alan.<br>I get this error now:<br>        expand: %{exec:/aplicaciones/radius/bin/radius_ath.sh} -> 1 <br>ERROR: Failed parsing value "1 " for attribute mi-resultado-script: Unknown value 1  for attribute mi-resultado-script<br><br>We can see a space after value 1. I've write in my script the line<br>echo 1<br><br>only to be sure, but this space appear again.<br>Could you help me with this?<br>Thanks again.<br><br><br>> Date: Thu, 23 Sep 2010 13:19:54 +0200<br>> From: aland@deployingradius.com<br>> To: freeradius-users@lists.freeradius.org<br>> Subject: Re: Problem with expand result of exec-program<br>> <br>> Juan Rodríguez wrote:<br>> > Hi everybody!!<br>> > Executing /aplicaciones/radius/bin/radius_ath.sh<br>> > Exec-Program output:<br>> <br>>   The program printed nothing.<br>> <br>> > Exec-Program: returned: 1<br>> > result 1<br>> > expand: %{exec:/aplicaciones/radius/bin/radius_ath.sh} -><br>> > <br>> > The result of the program is "1" but the value of the expression is not<br>> > expanded, and the attribute "mi-resultado-script" has always zero value.<br>> > <br>> > Could you help me with this?<br>> <br>>   Fix your program so that it prints something to the output.<br>> <br>>   Alan DeKok.<br>> -<br>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<br>                                    </body>
</html>