On Mon, Jan 13, 2020 at 03:52:57PM +0100, Alexandr Nedvedicky wrote: > pfctl diff bellow enables me to relax err(3) and errx(3) to warnings > where needed. The idea is to introduce PF_OPT_IGNFAIL and pfctl_err() > and pfctl_errx() wrappers around err(3) and errx(3) functions. > > the wrappers, when acting in warning mode (PF_OPT_IGNFAIL set), would > also set exit_val global variable so main() can report error. Makes sense. OK kn
Contrary to other options, this should be a strictly internal one and not be settable in any way.