weekly/340.noid: suppress warning on non-existent jail.conf
MFC after: 1 month
This commit is contained in:
parent
064dfba468
commit
5901cafc00
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user