Fix "err" usage.
PR: 44284 Submitted by: Sergey Mokryshev <mokr@mokr.net>
This commit is contained in:
parent
dab1b45261
commit
be9faa3290
@ -36,8 +36,7 @@ ipnat_precmd()
|
||||
{
|
||||
# Make sure ipfilter is loaded before continuing
|
||||
if ! ${SYSCTL} net.inet.ipf.fr_pass >/dev/null 2>&1; then
|
||||
err 'ipnat requires ipfilter be loaded'
|
||||
return 1
|
||||
err 1 'ipnat requires ipfilter be loaded'
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user