]> git.proxmox.com Git - mirror_zfs-debian.git/commitdiff
Set PATH in cron.d job to fix monthly scrubs. (LP: #1548009)
authorRichard Laager <rlaager@wiktel.com>
Mon, 17 Oct 2016 06:32:18 +0000 (14:32 +0800)
committerAron Xu <aronxu@gnome.org>
Mon, 17 Oct 2016 06:32:18 +0000 (14:32 +0800)
debian/zfsutils-linux.cron.d

index 5d8b7fc3295e559aff07730ea3cfac29d610649e..2f3a8cad2527ad2deb7ed8bf6587f45d1322152e 100644 (file)
@@ -1,2 +1,4 @@
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
 # Scrub the second Sunday of every month.
 24 0 8-14 * * root [ $(date +\%w) -eq 0 ] && [ -x /usr/lib/zfs-linux/scrub ] && /usr/lib/zfs-linux/scrub