mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +00:00
Make the script detect \r\n correctly.
This commit is contained in:
parent
080015cd24
commit
5083b40527
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ end
|
|||
while true do
|
||||
|
||||
input = read_line()
|
||||
if input == "" then
|
||||
if input == "" or input == "\r" then
|
||||
break
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue