mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-17 16:11:19 +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
|
done
|
||||||
|
|
||||||
# Exclude objects in scrubbing pools if the --skip-scrub flag is set.
|
# 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
|
do
|
||||||
# Ibid regarding iii.
|
# Ibid regarding iii.
|
||||||
jjj="$jj/"
|
jjj="$jj/"
|
||||||
|
Reference in New Issue
Block a user