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
1 changed files with 2 additions and 0 deletions

View File

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