mirror of https://github.com/k3s-io/k3s
commit
36e06bbb1f
|
@ -300,7 +300,8 @@ func (o *CopyOptions) copyFromPod(src, dest fileSpec) error {
|
|||
|
||||
go func() {
|
||||
defer outStream.Close()
|
||||
o.execute(options)
|
||||
err := o.execute(options)
|
||||
cmdutil.CheckErr(err)
|
||||
}()
|
||||
prefix := getPrefix(src.File)
|
||||
prefix = path.Clean(prefix)
|
||||
|
|
Loading…
Reference in New Issue