diff --git a/client/lib/lib.go b/client/lib/lib.go index 2358247..4d3851b 100644 --- a/client/lib/lib.go +++ b/client/lib/lib.go @@ -692,7 +692,7 @@ func Reupload(ctx context.Context) error { return fmt.Errorf("failed to reupload due to failed search: %w", err) } if len(entries) == 0 { - if currentOffset == 0 { + if currentOffset == 0 && numEntries != 0 { return fmt.Errorf("found no entries for reuploading, something went wrong") } else { return nil