Skip to content
Snippets Groups Projects
Commit e114ff68 authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

[borg] remove unnecessary test on $keep

parent e9824c0d
Branches
Tags
No related merge requests found
...@@ -152,7 +152,7 @@ fi ...@@ -152,7 +152,7 @@ fi
# borg prune # borg prune
if [ "$prune" == "yes" ]; then if [ "$prune" == "yes" ]; then
if [ ! -z $keep ] && [ ! "$keep" == "0" ]; then if [ ! "$keep" == "0" ]; then
prune_options="${prune_options} --keep-within=${keep}" prune_options="${prune_options} --keep-within=${keep}"
fi fi
prunestr="borg prune $prune_options $execstr_repository" prunestr="borg prune $prune_options $execstr_repository"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment