From 3cb0fa44fb83e34ec201b319b8cd59f7af06ee97 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Wed, 15 Dec 2021 18:54:35 -0800 Subject: [PATCH] sys-fs/zfs: adjust scrub timers patch according to upstream version https://github.com/openzfs/zfs/pull/12193 Signed-off-by: Georgy Yakovlev --- sys-fs/zfs/files/2.1.2-scrub-timers.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/zfs/files/2.1.2-scrub-timers.patch b/sys-fs/zfs/files/2.1.2-scrub-timers.patch index 58d1c3b6..f1c5b569 100644 --- a/sys-fs/zfs/files/2.1.2-scrub-timers.patch +++ b/sys-fs/zfs/files/2.1.2-scrub-timers.patch @@ -94,7 +94,7 @@ index 000000000..c04ac292a +if @sbindir@/zpool status %i | grep "scrub in progress"; then\ +exec @sbindir@/zpool wait -t scrub %i;\ +else exec @sbindir@/zpool scrub -w %i; fi' -+ExecStop=-/bin/sh -c 'exec @sbindir@/zpool scrub -p %i 2>/dev/null || true' ++ExecStop=-/bin/sh -c '@sbindir@/zpool scrub -p %i 2>/dev/null || true' -- 2.34.1