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
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment