diff options
| author | Charlotte Koch <dressupgeekout@gmail.com> | 2024-06-01 18:29:33 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-01 21:08:26 -0700 |
| commit | e1f6476cdee99a9ec2f7e2cc3c4ad1bba5247e4d (patch) | |
| tree | 4008b4520846fdc20ddbc93f5be5f8e2b9d929a2 /cmd/mobius-hotline-server | |
| parent | 23951f11736687ae7f420db20160a9fd76aa4856 (diff) | |
If no predefined default path for server config, look in the current dir
Diffstat (limited to 'cmd/mobius-hotline-server')
| -rw-r--r-- | cmd/mobius-hotline-server/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |