lookup XDG_CONFIG_HOME in openbsd

openbsd is needlessly left out from this  XDG_CONFIG_HOME check which caused the program to exit prematurely. go supports openbsd so there isn't any sensible reason to exclude it.
This commit is contained in:
Dash2o 2022-09-20 13:57:11 +01:00 committed by GitHub
parent 2edc0ee299
commit bdff9ddcee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func Paths(
}
switch sys {
case "android", "darwin", "linux", "freebsd":
case "android", "darwin", "linux", "freebsd", "openbsd":
paths := []string{}
// don't include the `XDG_CONFIG_HOME` path if that envvar is not set