0
0
mirror of https://github.com/rls-moe/nyx synced 2024-11-22 22:12:24 +00:00

Fixed bug where config flag was ignored

This commit is contained in:
Tim Schuster 2017-03-16 12:25:25 +01:00
parent 0cb8d52270
commit e85636f4b9
No known key found for this signature in database
GPG Key ID: F9E27097EFB77F61

View File

@ -6,9 +6,11 @@ import (
"log" "log"
"os" "os"
"time" "time"
"flag"
) )
func main() { func main() {
flag.Parse()
c, err := config.Load() c, err := config.Load()
if err != nil { if err != nil {
log.Printf("Could not read configuration: %s\n", err) log.Printf("Could not read configuration: %s\n", err)