Pruning stop looping
This commit is contained in:
@@ -112,10 +112,6 @@ check(){
|
||||
ok "Repository $REPOSITORY passed integrity check!"
|
||||
info "Current snapshots:"
|
||||
restic -r b2:"$REPOSITORY" snapshots | tee -a $LOG
|
||||
if [[ -n $PRUNE ]]; then
|
||||
info "prune is called for; cleaning $REPOSITORY"
|
||||
clean "$REPOSITORY"
|
||||
fi
|
||||
else
|
||||
error "Repository $REPOSITORY failed integrity check!"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user