fix: typo
This commit is contained in:
parent
6a338fc6ad
commit
d6670ee8d9
@ -230,13 +230,13 @@ func installKernel(sk config.KernelMask, pkgname string, force, headers bool) (e
|
|||||||
switch sk.DistroType {
|
switch sk.DistroType {
|
||||||
case config.Ubuntu:
|
case config.Ubuntu:
|
||||||
var commands []string
|
var commands []string
|
||||||
commands, err = oraclelinux.Install(sk, pkgname, headers)
|
commands, err = ubuntu.Install(sk, pkgname, headers)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer func() {
|
defer func() {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
oraclelinux.Cleanup(sk, pkgname)
|
ubuntu.Cleanup(sk, pkgname)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user