From 779b6cec2e524cc4edaa31cd0c9fe21d2aa50218 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 27 Oct 2009 22:49:23 +0000 Subject: [PATCH] Don't print out a "Host not scanned" line when doing list scan. --- output.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/output.cc b/output.cc index ba2c7f0e9..1697e1766 100644 --- a/output.cc +++ b/output.cc @@ -1448,8 +1448,7 @@ void write_host_header(Target *currenths) { for all hosts (even down ones) to be resolved */ void write_host_status(Target * currenths, int resolve_all) { if (o.listscan) { - /* write "unknown" to stdout, machine, and xml */ - log_write(LOG_PLAIN, "Host not scanned\n"); + /* write "unknown" to machine and xml */ log_write(LOG_MACHINE, "Host: %s (%s)\tStatus: Unknown\n", currenths->targetipstr(), currenths->HostName()); write_xml_initial_hostinfo(currenths, "unknown");