From e5f27e02e51e0b7bafffaf099ed12f9009a3a97d Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Tue, 2 Aug 2022 10:48:35 +0000 Subject: [PATCH] config: Comments in ini file traditionally start with ';' (#79) --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index 764d890..a188e1f 100644 --- a/config.go +++ b/config.go @@ -236,7 +236,7 @@ func IniParser(r io.Reader, set func(name, value string) error) error { continue // skip empties } - if line[0] == '#' { + if line[0] == '#' || line[0] == ';' { continue // skip comments }