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"
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to