Skip to content

Commit

Permalink
sys-fs/zfs: adjust scrub timers patch according to upstream version
Browse files Browse the repository at this point in the history
openzfs/zfs#12193
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
gyakovlev committed Dec 16, 2021
1 parent bc13a84 commit 3cb0fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys-fs/zfs/files/2.1.2-scrub-timers.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3cb0fa4

Please sign in to comment.