This commit is contained in:
Marc Wäckerlin
2019-01-23 13:09:21 +01:00
parent 04b1f1589a
commit 2a41362325

View File

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