config_file.go: allow comments with hash prefix
This commit is contained in:
@@ -21,6 +21,10 @@ func configFileLoad(filepath string) error {
|
||||
continue
|
||||
}
|
||||
|
||||
if strings.HasPrefix(line, "#") {
|
||||
continue
|
||||
}
|
||||
|
||||
i := strings.Index(line, "=")
|
||||
if i == -1 {
|
||||
continue
|
||||
|
Reference in New Issue
Block a user