mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +00:00
fixed tty_init to be skipped if --noninteractive was given on the command line
This commit is contained in:
parent
cf4c7081e8
commit
c22505bf5a
1 changed files with 3 additions and 0 deletions
|
|
@ -207,6 +207,9 @@ void tty_init()
|
|||
{
|
||||
struct termios ti;
|
||||
|
||||
if(o.noninteractive)
|
||||
return;
|
||||
|
||||
if (tty_fd)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue