From bdff9ddceef72cc1d3eeba977d5f3f07430e57a3 Mon Sep 17 00:00:00 2001 From: Dash2o <68697859+dash2o@users.noreply.github.com> Date: Tue, 20 Sep 2022 13:57:11 +0100 Subject: [PATCH] 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. --- internal/config/paths.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/paths.go b/internal/config/paths.go index 7818fbd..7128d50 100644 --- a/internal/config/paths.go +++ b/internal/config/paths.go @@ -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