fix: fixed a bug that caused hid.recon to crash if started more than once

This commit is contained in:
evilsocket 2019-03-12 17:28:41 +01:00
commit 81d20fa758
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -151,6 +151,10 @@ func (mod *HIDRecon) Configure() error {
var err error
var n int
if mod.Running() {
return session.ErrAlreadyStarted
}
if err, mod.useLNA = mod.BoolParam("hid.lna"); err != nil {
return err
}