mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-08 20:02:32 +01:00
[borg] remove unnecessary test on $keep
This commit is contained in:
parent
e9824c0d7d
commit
e114ff68f4
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user