bugfix: removing old backups

This commit is contained in:
Nico Schottelius 2008-03-17 12:21:35 +01:00
parent 842e668c4c
commit 7b76e1ee65

View file

@ -493,9 +493,9 @@ while [ "${i}" -lt "${no_sources}" ]; do
j=0 j=0
while [ "$j" -lt "$i" ]; do while [ "$j" -lt "$i" ]; do
eval to_remove=\"remove_$j\" eval to_remove=\"\$remove_$j\"
_techo "Removing ${to_remove} ..." _techo "Removing ${to_remove} ..."
pcmd echo rm ${VVERBOSE} -rf "${to_remove}" || \ pcmd rm ${VVERBOSE} -rf "${ddir}/${to_remove}" || \
_exit_err "Removing ${to_remove} failed." _exit_err "Removing ${to_remove} failed."
j=$((j+1)) j=$((j+1))
done done