mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user