Reduce verbosity
This commit is contained in:
parent
0f1bdc795d
commit
b98dc87d54
@ -353,12 +353,12 @@ func installKernel(sk config.KernelMask, pkgname string) (err error) {
|
|||||||
for _, krel := range moddirs {
|
for _, krel := range moddirs {
|
||||||
if strings.Contains(pkgname, krel.Name()) {
|
if strings.Contains(pkgname, krel.Name()) {
|
||||||
// already installed kernel
|
// already installed kernel
|
||||||
slog.Info().Msg("Already installed")
|
slog.Debug().Msg("Already installed")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
slog.Info().Msgf("Installing kernel")
|
slog.Debug().Msgf("Installing kernel")
|
||||||
|
|
||||||
switch sk.DistroType {
|
switch sk.DistroType {
|
||||||
case config.Ubuntu:
|
case config.Ubuntu:
|
||||||
@ -394,7 +394,7 @@ func installKernel(sk config.KernelMask, pkgname string) (err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
slog.Info().Msgf("Success")
|
slog.Debug().Msgf("Success")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user