fix: use log.file=eventlog as default value, if running as windows service (#1771)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2024-11-26 21:46:54 +01:00
committed by GitHub
parent fd55ac4894
commit ca04ad8fd2
5 changed files with 23 additions and 9 deletions

View File

@@ -34,6 +34,10 @@ type AllowedFile struct {
}
func (f *AllowedFile) String() string {
if f == nil {
return ""
}
return f.s
}