cmd/ctr: fix export command
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
This commit is contained in:
parent
e231b955dd
commit
231bbdc379
@ -111,7 +111,7 @@ When '--all-platforms' is given all images in a manifest list must be available.
|
||||
} else {
|
||||
w, err = os.Create(out)
|
||||
if err != nil {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
}
|
||||
defer w.Close()
|
||||
|
Loading…
Reference in New Issue
Block a user