Fix: Continue makes no sense in restore

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-03-13 14:24:12 +01:00
parent dff27205e3
commit 1a8bcc58a4
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -78,7 +78,7 @@ function run_restore() {
info "Fetching remote to reset..." info "Fetching remote to reset..."
git fetch origin ${BRANCH} || { git fetch origin ${BRANCH} || {
error "Fetch failed (exit $?)" error "Fetch failed (exit $?)"
continue return 1
} }
info "Resetting to remote state..." info "Resetting to remote state..."