HomeFreeBSD

ipfilter/ippool: Return error code when listing a pool fails

Description

ipfilter/ippool: Return error code when listing a pool fails

When an internal or other error occurs during the listing of a pool,
return an error code when extiting ippool(8). Printing an error to
stderr without returning an error code is useless in shell scripts.

(cherry picked from commit 5568c8b2c58a65a07b42af0e09c3fc619f13316c)

Details

Provenance
cyAuthored on Sep 22 2022, 1:00 PM
Parents
rG95dfabe85a54: ipfilter/ippool: Dump a copy of ippool in ippool.conf format
Branches
Unknown
Tags
Unknown