Fix missing branch reference

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-03-10 18:32:21 +01:00
parent 0dd8596f00
commit dff27205e3
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -76,7 +76,7 @@ function run_restore() {
git remote add origin "${REMOTE}" git remote add origin "${REMOTE}"
info "Fetching remote to reset..." info "Fetching remote to reset..."
git fetch ${REMOTE} ${BRANCH} || { git fetch origin ${BRANCH} || {
error "Fetch failed (exit $?)" error "Fetch failed (exit $?)"
continue continue
} }