ENV variables in external scripts
Alan DeKok
aland at deployingradius.com
Fri Mar 7 17:22:34 CET 2008
rsg wrote:
> $Check = $CALLING_STATION_ID;
Read the Perl documentation.
> print STDERR "\t: $Check\n";
Don't do this. Executed programs should print to STDOUT. They should
NOT print to STDERR.
> $db = Mysql->connect("localhost","radius","root","");
...
> print STDERR "\t: $chk\n";
...
> And the Sql check obviously gives "n".
Which gets printed to STDERR, just like you wanted.
Alan DeKok.
More information about the Freeradius-Users
mailing list