kernel import must not have absolute path

This commit is contained in:
Christian Goll
2021-10-14 11:37:41 +02:00
parent 9d89a3b8dd
commit 7c6c96fc4f
2 changed files with 3 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
// Checking if container flag was set, then overwriting OptRoot
kernelVersion := args[0]
kernelName := kernelVersion
if len(args) > 1 {
if len(args) > 1 {
kernelName = args[1]
}
if OptContainer != "" {