1
0

Should return if error occured

This commit is contained in:
dump_stack() 2019-12-26 13:16:38 +00:00
parent f4a8b75244
commit e03dff8409
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -273,6 +273,7 @@ func dockerImageAppend(sk config.KernelMask, pkgname string) (err error) {
"/boot/initramfs-%s.img %s\n", version, version) "/boot/initramfs-%s.img %s\n", version, version)
default: default:
err = fmt.Errorf("%s not yet supported", sk.DistroType.String()) err = fmt.Errorf("%s not yet supported", sk.DistroType.String())
return
} }
err = ioutil.WriteFile(imagePath+"/Dockerfile", err = ioutil.WriteFile(imagePath+"/Dockerfile",