mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Patch from Daniel Miller: fix an output line that was writing to stdout
even when other output was redirected.
This commit is contained in:
parent
0c8e9d05c3
commit
d7e555c878
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [Ndiff] Fixed an output line that wasn't being redirected to a file
|
||||
when all other output was. [Daniel Miller]
|
||||
|
||||
Nmap 5.50 [2011-01-28]
|
||||
|
||||
o [Zenmap] Added a new script selection interface, allowing you to
|
||||
|
|
|
|||
|
|
@ -425,7 +425,7 @@ class ScanDiff(object):
|
|||
print >> f, u" %s" % banner_a
|
||||
|
||||
for host in self.hosts:
|
||||
print
|
||||
print >> f
|
||||
|
||||
h_diff = self.host_diffs[host]
|
||||
h_diff.print_text(f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue