Skip to content

Commit 6b410ba

Browse files
authored
Merge pull request #5197 from Iceber/fix-ctr-command
cmd/ctr: fix export command
2 parents 06e6f45 + 231bbdc commit 6b410ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/ctr/commands/images/export.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ When '--all-platforms' is given all images in a manifest list must be available.
111111
} else {
112112
w, err = os.Create(out)
113113
if err != nil {
114-
return nil
114+
return err
115115
}
116116
}
117117
defer w.Close()

0 commit comments

Comments
 (0)