1
0
Fork 0

fix: typo

master
dump_stack() 2023-05-18 11:50:17 +00:00
parent 6a338fc6ad
commit d6670ee8d9
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 2 additions and 2 deletions

View File

@ -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)
} }
}() }()