1
0

fix: typo

This commit is contained in:
dump_stack() 2023-05-18 11:50:17 +00:00
parent 6a338fc6ad
commit d6670ee8d9
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -230,13 +230,13 @@ func installKernel(sk config.KernelMask, pkgname string, force, headers bool) (e
switch sk.DistroType {
case config.Ubuntu:
var commands []string
commands, err = oraclelinux.Install(sk, pkgname, headers)
commands, err = ubuntu.Install(sk, pkgname, headers)
if err != nil {
return
}
defer func() {
if err != nil {
oraclelinux.Cleanup(sk, pkgname)
ubuntu.Cleanup(sk, pkgname)
}
}()