no open ports found;

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-07-13 20:28:02 -04:00
parent efcd38be3b
commit 2b4b34d465
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -176,6 +176,10 @@ func main() {
logrus.Fatal(err)
}
if len(m) <= 0 {
logrus.Warn("No open ports found")
}
for _, result := range m {
for _, port := range result.Ports {
wg.Add(1)