diff options
Diffstat (limited to 'src/config.go')
-rw-r--r-- | src/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
45 | 45 | ||
46 | func getConfigFilePath() (string, error) { | 46 | func getConfigFilePath() (string, error) { |
47 | path := "" | 47 | path := "" |
48 | if runtime.GOOS == "linux" { | 48 | if runtime.GOOS == "linux" || runtime.GOOS == "openbsd" { |
49 | configDir := os.Getenv("XDG_CONFIG_DIR") | 49 | configDir := os.Getenv("XDG_CONFIG_DIR") |
50 | if configDir == "" { | 50 | if configDir == "" { |
51 | home := os.Getenv("HOME") | 51 | home := os.Getenv("HOME") |