On Wed, Aug 15, 2018 at 12:34:24PM +0200, Phil Sutter wrote:
> When trying to list a non-existent chain, ebtables-nft would just print
> the table header and then exit with a code of zero. In order to be more
> consistent with legacy ebtables, change the code to:
> 
> * Print table header only if chosen chain is found and
> * propagate the error condition if chain was not found to print an error
>   message.

Applied, thanks.

> Note that this does not establish full parity with legacy ebtables due
> to the error code being 1 instead of 255 and the error message differing
> from the legacy one.

Hm, not sure it's worth adding code to exit with 255 on error.

Reply via email to