mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 04:52:10 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
0d17ba3573
commit
c68c88030d
1 changed files with 1 additions and 1 deletions
|
@ -145,5 +145,5 @@ func GetSupportedFrequencies(iface string) ([]int, error) {
|
|||
} else if core.HasBinary("iwlist") {
|
||||
return iwlistSupportedFrequencies(iface)
|
||||
}
|
||||
return fmt.Errorf("no iw or iwlist binaries found in $PATH")
|
||||
return nil, fmt.Errorf("no iw or iwlist binaries found in $PATH")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue