summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-05-16 15:49:12 +0200
committerxengineering <me@xengineering.eu>2022-05-16 15:49:12 +0200
commit6f83de0951682df7557e088d9fe4e37ed2fcb4ab (patch)
treee07d728518b33822062ed3b69f4b4668363f756f
parent9903d969d06a89516a8a2501b2841393756d4bb5 (diff)
downloadwebiot-6f83de0951682df7557e088d9fe4e37ed2fcb4ab.tar
webiot-6f83de0951682df7557e088d9fe4e37ed2fcb4ab.tar.zst
webiot-6f83de0951682df7557e088d9fe4e37ed2fcb4ab.zip
Fix default path for config
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index d6b59b9..b70c193 100644
--- a/main.go
+++ b/main.go
@@ -43,7 +43,7 @@ func parseFlags() string {
var r string // return value
- flag.StringVar(&r, "c", "config.json",
+ flag.StringVar(&r, "c", "/etc/webiot/config.json",
"path to configuration file")
flag.Parse()