mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 05:01:29 +00:00
Change " \n" to just "\n" where appropriate in NSE. Leading newlines are
no longer removed from script output.
This commit is contained in:
@@ -457,6 +457,6 @@ function nice_output( output, combined_records )
|
||||
end
|
||||
|
||||
-- return combined and formatted answers
|
||||
return (" \n%s"):format( table.concat( output, "\n" ) )
|
||||
return "\n" .. table.concat( output, "\n" )
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user