mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-16 23:51:15 +02:00
Invert the --skip-scrub test.
The test sense for the --skip-scrub flag is incorrect, which causes it to operate opposite as intented.
This commit is contained in:
@ -346,7 +346,7 @@ do
|
||||
done
|
||||
|
||||
# Exclude objects in scrubbing pools if the --skip-scrub flag is set.
|
||||
test -z "$opt_skip_scrub" && for jj in $ZPOOLS_SCRUBBING
|
||||
test -n "$opt_skip_scrub" && for jj in $ZPOOLS_SCRUBBING
|
||||
do
|
||||
# Ibid regarding iii.
|
||||
jjj="$jj/"
|
||||
|
Reference in New Issue
Block a user