From 38694ad091765d7369ff63667b5049828560b6b2 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Sun, 26 Aug 2018 12:13:44 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- modules/wifi_deauth.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/wifi_deauth.go b/modules/wifi_deauth.go index fdff59b4..dd7ac109 100644 --- a/modules/wifi_deauth.go +++ b/modules/wifi_deauth.go @@ -71,8 +71,7 @@ func (w *WiFiModule) startDeauth(to net.HardwareAddr) error { } if len(toDeauth) == 0 { - return fmt.Errorf("%s is an unknown BSSID.", to.String()) - + return fmt.Errorf("%s is an unknown BSSID or doesn't have detected clients.", to.String()) } // since we need to change the wifi adapter channel for each