mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2025-06-22 22:23:24 +00:00
fix: early return
This commit is contained in:
parent
8826e01499
commit
9145b9ce1d
1
main.go
1
main.go
@ -115,6 +115,7 @@ func (config *Config) readConfig() {
|
|||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("Unable to resolve %v, please give the correct port", DEEPLXPORT)
|
log.Printf("Unable to resolve %v, please give the correct port", DEEPLXPORT)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
config.Port = uint16(port)
|
config.Port = uint16(port)
|
||||||
|
Loading…
Reference in New Issue
Block a user