diff --git a/cmd/kernel.go b/cmd/kernel.go index b16a6b4..5e2f1a5 100644 --- a/cmd/kernel.go +++ b/cmd/kernel.go @@ -62,6 +62,7 @@ func (cmd KernelCmd) UpdateConfig() (err error) { if cmd.NoCfgRegen { log.Info().Msgf("kernels.toml is not updated") + return } log.Info().Msgf("updating kernels.toml")