feat(log): log warnings about user settings

- Warn when using Openvpn 2.4 and SlickVPN
- Warn when using Openvpn 2.5 and SlickVPN
This commit is contained in:
Quentin McGaw
2023-04-01 15:22:32 +00:00
parent 0f4a2e5224
commit c246dae2cc
2 changed files with 32 additions and 0 deletions

View File

@@ -277,6 +277,10 @@ func _main(ctx context.Context, buildInfo models.BuildInformation,
logger.Info(allSettings.String())
for _, warning := range allSettings.Warnings() {
logger.Warn(warning)
}
if err := os.MkdirAll("/tmp/gluetun", 0644); err != nil {
return err
}