diff --git a/src/internal/operations/restore.go b/src/internal/operations/restore.go index 3ed84c5f8..7dfd689d6 100644 --- a/src/internal/operations/restore.go +++ b/src/internal/operations/restore.go @@ -309,5 +309,9 @@ func formatDetailsForRestoration( paths[i] = p } + if errs != nil { + return nil, errs + } + return paths, nil }