mirror of https://github.com/docker/docs.git
				
				
				
			Merge pull request #2666 from cvstebut/master
close handle on destination after copying boot2docker.iso into vm folder
This commit is contained in:
		
						commit
						9f6764ccd3
					
				|  | @ -55,6 +55,8 @@ func CopyFile(src, dst string) error { | |||
| 		return err | ||||
| 	} | ||||
| 
 | ||||
| 	defer out.Close() | ||||
| 
 | ||||
| 	if _, err = io.Copy(out, in); err != nil { | ||||
| 		return err | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue