forked from ungleich-public/ccollect
bugfix: removing old backups
This commit is contained in:
parent
842e668c4c
commit
7b76e1ee65
1 changed files with 2 additions and 2 deletions
|
@ -493,9 +493,9 @@ while [ "${i}" -lt "${no_sources}" ]; do
|
|||
|
||||
j=0
|
||||
while [ "$j" -lt "$i" ]; do
|
||||
eval to_remove=\"remove_$j\"
|
||||
eval to_remove=\"\$remove_$j\"
|
||||
_techo "Removing ${to_remove} ..."
|
||||
pcmd echo rm ${VVERBOSE} -rf "${to_remove}" || \
|
||||
pcmd rm ${VVERBOSE} -rf "${ddir}/${to_remove}" || \
|
||||
_exit_err "Removing ${to_remove} failed."
|
||||
j=$((j+1))
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue