avoid LoadConfig twice
This commit is contained in:
parent
65de188423
commit
8f2c438c70
|
@ -101,9 +101,6 @@ func main() {
|
|||
dlog.Fatal(err)
|
||||
}
|
||||
} else {
|
||||
if err := ConfigLoad(app.proxy, &flags); err != nil {
|
||||
dlog.Fatal(err)
|
||||
}
|
||||
app.signalWatch()
|
||||
app.Start(nil)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue