mirror of
https://github.com/rls-moe/nyx
synced 2024-11-14 22:12:24 +00:00
Fixed bug where config flag was ignored
This commit is contained in:
parent
0cb8d52270
commit
e85636f4b9
2
main.go
2
main.go
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user