add found ports

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-07-13 22:55:44 -04:00
parent 5ca68f0bd3
commit 2356278542
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -176,9 +176,7 @@ func main() {
logrus.Fatal(err)
}
if len(m) <= 0 {
logrus.Warn("No open ports found")
}
logrus.Infof("Found %d open ports", len(m))
for _, result := range m {
for _, port := range result.Ports {