aboutsummaryrefslogtreecommitdiff
path: root/cmd/mobius-hotline-server
diff options
context:
space:
mode:
authorCharlotte Koch <dressupgeekout@gmail.com>2024-06-01 18:29:33 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-01 21:08:26 -0700
commite1f6476cdee99a9ec2f7e2cc3c4ad1bba5247e4d (patch)
tree4008b4520846fdc20ddbc93f5be5f8e2b9d929a2 /cmd/mobius-hotline-server
parent23951f11736687ae7f420db20160a9fd76aa4856 (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.go2
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