Skip to content

Commit

Permalink
Merge pull request #435 from stgraber/main
Browse files Browse the repository at this point in the history
internal/archive: Fix squashfs error handling
  • Loading branch information
tych0 committed Jan 25, 2024
2 parents 0595e52 + bd9ec23 commit 4fc6dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/archive/archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,11 @@ func Unpack(file string, path string, blockBackend bool, maxMemory int64, tracke
continue
}

if !strings.Contains(line, "failed to create block device") {
if strings.Contains(line, "failed to create block device") {
continue
}

if !strings.Contains(line, "failed to create character device") {
if strings.Contains(line, "failed to create character device") {
continue
}

Expand Down

0 comments on commit 4fc6dd6

Please sign in to comment.