weekly/340.noid: suppress warning on non-existent jail.conf

MFC after:	1 month
This commit is contained in:
Eugene Grosbein 2018-11-10 17:49:19 +00:00
parent 9c66c1df48
commit bcfc8c2779

View File

@ -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"