log.Fatal() does os.Exit(1) so we don't need to do it again
This commit is contained in:
1 parent
add13ff857
commit
5b93577054
1 file changed
-3
@@ -92,9 +92,6 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
if wait && iface == nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
if connLimit < 0 {
|
||||
connLimit = 0
|
||||
|
||||
Reference in new issue
Block a user