mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-17 16:11:19 +02:00
Fix recursive snapshot
This commit is contained in:
@ -447,6 +447,9 @@ do
|
|||||||
for jj in "$@"
|
for jj in "$@"
|
||||||
do
|
do
|
||||||
if [ "$jj" = '//' -o "$jj" = "$ii" ]
|
if [ "$jj" = '//' -o "$jj" = "$ii" ]
|
||||||
|
then
|
||||||
|
IN_ARGS=$(( $IN_ARGS + 1 ))
|
||||||
|
elif [ -n "$opt_recursive" -a "$iii" != "${iii#$jjj}" ]
|
||||||
then
|
then
|
||||||
IN_ARGS=$(( $IN_ARGS + 1 ))
|
IN_ARGS=$(( $IN_ARGS + 1 ))
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user