1
0

Reduce verbosity

This commit is contained in:
dump_stack() 2023-03-22 18:08:48 +00:00
parent 0f1bdc795d
commit b98dc87d54
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

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