mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
5727fa3c56
commit
892eff56a6
1 changed files with 1 additions and 5 deletions
6
main.go
6
main.go
|
@ -24,6 +24,7 @@ func main() {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
defer sess.Close()
|
||||||
|
|
||||||
if core.HasColors == false {
|
if core.HasColors == false {
|
||||||
if *sess.Options.NoColors == true {
|
if *sess.Options.NoColors == true {
|
||||||
|
@ -104,9 +105,4 @@ func main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sess.Close()
|
|
||||||
|
|
||||||
// Windows requires this otherwise the app never exits ...
|
|
||||||
os.Exit(0)
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue