From 9bc0c56b12b7b4823b90a524a3e6d1fa71470972 Mon Sep 17 00:00:00 2001
From: Lukas Braun <lukas.braun@fau.de>
Date: Tue, 7 Feb 2017 16:38:57 +0100
Subject: [PATCH] fix default config path

---
 goatherd.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/goatherd.go b/goatherd.go
index 074e80f..a5da09a 100644
--- a/goatherd.go
+++ b/goatherd.go
@@ -356,7 +356,7 @@ func serve(db *sql.DB) {
 
 
 func main() {
-    flag_config := flag.String("config", "/etc/hotpd.conf", "Path to config file")
+    flag_config := flag.String("config", "/etc/goatherd.conf", "Path to config file")
     flag_init_db := flag.Bool("init-db", false, "Initialize the database.")
     flag_add_user := flag.String("add-user", "", "Add new user to the database. If '-' read name from stdin.")
     flag_secret := flag.String("secret", "-", "Secret for the new user. If '-' read from stdin.")
-- 
GitLab