typo
This commit is contained in:
@@ -112,7 +112,7 @@ for src in "${SOURCES[@]}"; do
|
|||||||
if test -n "$del"; then
|
if test -n "$del"; then
|
||||||
for f in $(ls -d1 "${DESTINATION}/${target}"-* | sort -r | tail -n +"$del"); do
|
for f in $(ls -d1 "${DESTINATION}/${target}"-* | sort -r | tail -n +"$del"); do
|
||||||
#echo " " "lizardfs rremove -l '$f'"
|
#echo " " "lizardfs rremove -l '$f'"
|
||||||
echo " " "rm -rf --one-filesystem '$f'"
|
echo " " "rm -rf --one-file-system '$f'"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@@ -121,7 +121,7 @@ for src in "${SOURCES[@]}"; do
|
|||||||
if test -n "$del"; then
|
if test -n "$del"; then
|
||||||
for f in $(ls -d1 "${DESTINATION}/${target}"-* | sort -r | tail -n +"$del"); do
|
for f in $(ls -d1 "${DESTINATION}/${target}"-* | sort -r | tail -n +"$del"); do
|
||||||
#lizardfs rremove -l "$f"
|
#lizardfs rremove -l "$f"
|
||||||
test -d "$f" && rm -rf --one-filesystem "$f"
|
test -d "$f" && rm -rf --one-file-system "$f"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user