From bcfc8c277969c038f4e6113b21e5e77cc638c01b Mon Sep 17 00:00:00 2001 From: Eugene Grosbein Date: Sat, 10 Nov 2018 17:49:19 +0000 Subject: [PATCH] weekly/340.noid: suppress warning on non-existent jail.conf MFC after: 1 month --- usr.sbin/periodic/etc/weekly/340.noid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/periodic/etc/weekly/340.noid b/usr.sbin/periodic/etc/weekly/340.noid index 92661b2b670f..101ac5752674 100755 --- a/usr.sbin/periodic/etc/weekly/340.noid +++ b/usr.sbin/periodic/etc/weekly/340.noid @@ -25,7 +25,7 @@ case "$weekly_noid_enable" in sep=: OIFS="$IFS" IFS="$sep" - for param in $(jail -f "`sysrc -n jail_conf`" -e "$sep") + for param in $(jail -f "`sysrc -n jail_conf`" -e "$sep" 2>/dev/null) do case "$param" in path=*) exclude="$exclude -path ${param#path=} -prune -or"