Date: Sat, 10 Nov 2018 17:49:20 +0000 (UTC) From: Eugene Grosbein <eugen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r340327 - head/usr.sbin/periodic/etc/weekly Message-ID: <201811101749.wAAHnKjv058563@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eugen Date: Sat Nov 10 17:49:19 2018 New Revision: 340327 URL: https://svnweb.freebsd.org/changeset/base/340327 Log: weekly/340.noid: suppress warning on non-existent jail.conf MFC after: 1 month Modified: head/usr.sbin/periodic/etc/weekly/340.noid Modified: head/usr.sbin/periodic/etc/weekly/340.noid ============================================================================== --- head/usr.sbin/periodic/etc/weekly/340.noid Sat Nov 10 16:58:07 2018 (r340326) +++ head/usr.sbin/periodic/etc/weekly/340.noid Sat Nov 10 17:49:19 2018 (r340327) @@ -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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811101749.wAAHnKjv058563>