diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-15 18:54:35 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-15 18:54:35 -0800 |
commit | d4e68cd69421906d1a576d37814cff34ae7f59b6 (patch) | |
tree | c0666ee4fb7b5992c542803afbec1a12a5b8c328 /sys-fs/zfs | |
parent | sys-fs/zfs: sync live ebuild (diff) | |
download | gentoo-d4e68cd69421906d1a576d37814cff34ae7f59b6.tar.gz gentoo-d4e68cd69421906d1a576d37814cff34ae7f59b6.tar.bz2 gentoo-d4e68cd69421906d1a576d37814cff34ae7f59b6.zip |
sys-fs/zfs: adjust scrub timers patch according to upstream version
https://github.com/openzfs/zfs/pull/12193
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs/zfs')
-rw-r--r-- | sys-fs/zfs/files/2.1.2-scrub-timers.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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 58d1c3b6968d..f1c5b5699f62 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 |