Pruning stop looping

This commit is contained in:
2022-01-31 22:09:07 +02:00
parent ae8dc0edd0
commit 0e1d2fc993

View File

@@ -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