fix: early return

This commit is contained in:
cijiugechu 2023-03-03 14:54:09 +08:00
parent 8826e01499
commit 9145b9ce1d

View File

@ -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)