From: Charlotte Koch Date: Sun, 2 Jun 2024 01:29:33 +0000 (-0700) Subject: If no predefined default path for server config, look in the current dir X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/commitdiff_plain/e1f6476cdee99a9ec2f7e2cc3c4ad1bba5247e4d If no predefined default path for server config, look in the current dir --- diff --git a/cmd/mobius-hotline-server/main.go b/cmd/mobius-hotline-server/main.go index 7d3bf27..2bda39b 100644 --- a/cmd/mobius-hotline-server/main.go +++ b/cmd/mobius-hotline-server/main.go @@ -182,7 +182,7 @@ func defaultConfigPath() (cfgPath string) { case "linux": cfgPath = "/usr/local/var/mobius/config/" default: - fmt.Printf("unsupported OS") + cfgPath = "./config/" } return cfgPath