Meaningful non-interactive wpa_cli exit code
Mon Sep 3 15:44:28 PDT 2007
On Wed, Jul 18, 2007 at 08:10:24PM +0100, Daniel Drake wrote:
> When you run wpa_cli with an unrecognised command in non-interactive
> mode, e.g. "wpa_cli asdf", you get a zero exit code.
> This patch makes it nonzero for unrecognised commands like this, to
> allow easy detection of failure.
Thanks, applied. In addition, I added similar error code for the case
where multiple commands would have matched and for cases where command
parsing failed in the handler functions.
Jouni Malinen PGP id EFC895FA
More information about the Hostap