Skip to content

Commit 6c7da10

Browse files
committed
Fix recursive snapshot
1 parent 3d9992b commit 6c7da10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/zfs-auto-snapshot.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,9 @@ do
447447
for jj in "$@"
448448
do
449449
if [ "$jj" = '//' -o "$jj" = "$ii" ]
450+
then
451+
IN_ARGS=$(( $IN_ARGS + 1 ))
452+
elif [ -n "$opt_recursive" -a "$iii" != "${iii#$jjj}" ]
450453
then
451454
IN_ARGS=$(( $IN_ARGS + 1 ))
452455
fi

0 commit comments

Comments
 (0)