Reduce log level for kernel module check

This commit is contained in:
braginini
2023-04-11 11:21:40 +02:00
parent 0f449f64ec
commit 94c6d8c55b

View File

@@ -86,7 +86,7 @@ func tunModuleIsLoaded() bool {
func WireGuardModuleIsLoaded() bool {
if os.Getenv(envDisableWireGuardKernel) == "true" {
log.Infof("WireGuard kernel module disabled because the %s env is set to true", envDisableWireGuardKernel)
log.Debugf("WireGuard kernel module disabled because the %s env is set to true", envDisableWireGuardKernel)
return false
}