summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2002-10-26 00:18:06 +0000
committerfenner <fenner@FreeBSD.org>2002-10-26 00:18:06 +0000
commit4cf64ec6bb8b55891d14f0ee10e5ab6adac58cb4 (patch)
tree81b0b19803fc2614e4e62fa3c688bfda50eaa9a5 /etc/rc.d
parent389223166aa290e3d32ead3e89388bae966d781d (diff)
downloadFreeBSD-src-4cf64ec6bb8b55891d14f0ee10e5ab6adac58cb4.zip
FreeBSD-src-4cf64ec6bb8b55891d14f0ee10e5ab6adac58cb4.tar.gz
Fix "err" usage.
PR: 44284 Submitted by: Sergey Mokryshev <mokr@mokr.net>
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/ipnat3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc.d/ipnat b/etc/rc.d/ipnat
index b9c4512..51d116c 100755
--- a/etc/rc.d/ipnat
+++ b/etc/rc.d/ipnat
@@ -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
}
OpenPOWER on IntegriCloud