summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 38fde52..b77c803 100644
--- a/main.go
+++ b/main.go
@@ -24,8 +24,8 @@ func main() {
defer log.Println("Ceres recipe server stopped")
log.Printf("Version: %s", version)
- if config.Path != "" {
- config.Read()
+ if flags.config != "" {
+ config.Read(flags.config)
}
storage := model.NewStorage(config.StorageFilePath)