[borg] remove unnecessary test on $keep

This commit is contained in:
Jerome Charaoui 2018-01-26 11:37:04 -05:00
parent e9824c0d7d
commit e114ff68f4

View File

@ -152,7 +152,7 @@ fi
# borg prune
if [ "$prune" == "yes" ]; then
if [ ! -z $keep ] && [ ! "$keep" == "0" ]; then
if [ ! "$keep" == "0" ]; then
prune_options="${prune_options} --keep-within=${keep}"
fi
prunestr="borg prune $prune_options $execstr_repository"