log.Fatal() does os.Exit(1) so we don't need to do it again

This commit is contained in:
Bryan Boreham committed 2014-09-22 16:42:18 +01:00
1 parent add13ff857
commit 5b93577054
1 file changed
-3
-3
View File
@@ -92,9 +92,6 @@ func main() {
if err != nil {
log.Fatal(err)
}
if wait && iface == nil {
os.Exit(1)
}
if connLimit < 0 {
connLimit = 0