mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
Make the script detect \r\n correctly.
This commit is contained in:
@@ -293,7 +293,7 @@ end
|
||||
while true do
|
||||
|
||||
input = read_line()
|
||||
if input == "" then
|
||||
if input == "" or input == "\r" then
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user