forked from extern/zfs-auto-snapshot
Fix recursive snapshot
This commit is contained in:
parent
3d9992b086
commit
6c7da10e24
@ -447,6 +447,9 @@ do
|
||||
for jj in "$@"
|
||||
do
|
||||
if [ "$jj" = '//' -o "$jj" = "$ii" ]
|
||||
then
|
||||
IN_ARGS=$(( $IN_ARGS + 1 ))
|
||||
elif [ -n "$opt_recursive" -a "$iii" != "${iii#$jjj}" ]
|
||||
then
|
||||
IN_ARGS=$(( $IN_ARGS + 1 ))
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user