mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
fix: fixed a bug which broke ble.enum
This commit is contained in:
parent
d9a79aace7
commit
a59c51b825
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ func (mod *BLERecon) enumAllTheThings(mac string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
mod.setCurrentDevice(dev)
|
mod.setCurrentDevice(dev)
|
||||||
if err := mod.Configure(); err != nil && err != session.ErrAlreadyStarted(mod.Name()) {
|
if err := mod.Configure(); err != nil && err.Error() != session.ErrAlreadyStarted("ble.recon").Error() {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue