Fix recursive snapshot

This commit is contained in:
Phil Kulin 2018-07-11 17:32:57 +03:00
parent 3d9992b086
commit 6c7da10e24

View File

@ -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