mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
balls
This commit is contained in:
parent
b048d6a0e6
commit
9c97e99356
1 changed files with 3 additions and 1 deletions
|
@ -96,12 +96,14 @@ func (s *Session) activeHandler(args []string, sess *Session) error {
|
||||||
func (s *Session) exitHandler(args []string, sess *Session) error {
|
func (s *Session) exitHandler(args []string, sess *Session) error {
|
||||||
for _, mod := range s.Modules {
|
for _, mod := range s.Modules {
|
||||||
if mod.Running() {
|
if mod.Running() {
|
||||||
|
fmt.Printf("Stopping %s\n", mod.Name())
|
||||||
mod.Stop()
|
mod.Stop()
|
||||||
|
fmt.Printf("DONE\n")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
s.Active = false
|
s.Active = false
|
||||||
// s.Input.Close()
|
s.Input.Close()
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue