Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2018 11:05:38 +0000 (UTC)
From:      Michael Reifenberger <mr@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r342647 - stable/11/etc/periodic/daily
Message-ID:  <201812311105.wBVB5c0X065945@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mr
Date: Mon Dec 31 11:05:38 2018
New Revision: 342647
URL: https://svnweb.freebsd.org/changeset/base/342647

Log:
  Merge forgotten r318577 to close PR.
  
  PR:		217622

Modified:
  stable/11/etc/periodic/daily/800.scrub-zfs

Modified: stable/11/etc/periodic/daily/800.scrub-zfs
==============================================================================
--- stable/11/etc/periodic/daily/800.scrub-zfs	Mon Dec 31 10:59:30 2018	(r342646)
+++ stable/11/etc/periodic/daily/800.scrub-zfs	Mon Dec 31 11:05:38 2018	(r342647)
@@ -71,7 +71,7 @@ case "$daily_scrub_zfs_enable" in
 
 		# Now minus last scrub (both in seconds) converted to days.
 		_scrub_diff=$(expr -e \( $(date +%s) - \
-		    $(date -j -f %F.%T ${_last_scrub} +%s) \) / 60 / 60 / 24)
+		    $(date -j -v -70M -f %F.%T ${_last_scrub} +%s) \) / 60 / 60 / 24)
 		if [ ${_scrub_diff} -lt ${_pool_threshold} ]; then
 			echo "   skipping scrubbing of pool '${pool}':"
 			echo "      last scrubbing is ${_scrub_diff} days ago, threshold is set to ${_pool_threshold} days"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812311105.wBVB5c0X065945>