mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2024-11-22 08:03:54 +01:00
Revert PR85
This commit is contained in:
parent
838b03b41f
commit
f145cf6e07
@ -440,16 +440,12 @@ do
|
||||
# Just testing "$ii" != ${ii#$jj} would incorrectly match.
|
||||
iii="$ii/"
|
||||
|
||||
# Exclude datasets
|
||||
# * that are not named on the command line or
|
||||
# * those whose prefix is not on the command line (if --recursive flag is set)
|
||||
|
||||
# Exclude datasets that are not named on the command line.
|
||||
IN_ARGS='0'
|
||||
for jj in "$@"
|
||||
do
|
||||
if [ "$jj" = '//' -o "$jj" = "$ii" ]
|
||||
then
|
||||
IN_ARGS=$(( $IN_ARGS + 1 ))
|
||||
elif [ -n "$opt_recursive" -a "$iii" != "${iii#$jj}" ]
|
||||
then
|
||||
IN_ARGS=$(( $IN_ARGS + 1 ))
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user