fix: typo
This commit is contained in:
		| @@ -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) | ||||||
| 			} | 			} | ||||||
| 		}() | 		}() | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user