[Chilli] chilli_query output
Xabier Oneca -- xOneca
xoneca at gmail.com
Sat Oct 26 17:04:01 UTC 2013
Hello Luis,
Well, 'chilli_query' only checks command syntax and parameters and relays
the command to 'chilli', printing then what it returns.
'chilli_query' only returns error if it finds any. If it relays correctly
to 'chilli', then it will return success.
You can test success checking the return value of the command (usually
value of $? In unix shell) should be zero.
HTH
--
Xabier Oneca_,,_
El 23/10/2013 13:22, "Luis Ferreira" <lferreira at cabocom.cv> escribió:
>
> Hi everyone,
>
>
>
> Sometimes I use the following command:
>
>
>
> chilli_query -s /usr/local/var/run/chilli.vlanXX.sock logout ip
XX.XX.XX.XX
>
>
>
> The problem with that is that the command does not give any sort of
output. How can I know if it was successfully or it failed to do it? Is any
sort of output that I can enable it?
>
>
>
> Kind Regards,
>
> Luis
>
>
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20131026/c946c30d/attachment.html>
More information about the Chilli
mailing list