From f13b77b8237dbc5dbe8aaf9c4dc342b2f15c375d Mon Sep 17 00:00:00 2001 From: Simon Garrelou Date: Fri, 2 Feb 2024 14:52:23 +0100 Subject: Add support for OpenBSD Co-authored-by: Russ Sharek --- src/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.go b/src/config.go index 2769cae..8f931ae 100644 --- a/src/config.go +++ b/src/config.go @@ -45,7 +45,7 @@ func LoadDefaultConfig() (*Config, error) { func getConfigFilePath() (string, error) { path := "" - if runtime.GOOS == "linux" { + if runtime.GOOS == "linux" || runtime.GOOS == "openbsd" { configDir := os.Getenv("XDG_CONFIG_DIR") if configDir == "" { home := os.Getenv("HOME") -- cgit v1.2.3