mirror of
https://github.com/nmap/nmap.git
synced 2026-01-27 16:49:01 +00:00
fixed tty_init to be skipped if --noninteractive was given on the command line
This commit is contained in:
@@ -207,6 +207,9 @@ void tty_init()
|
||||
{
|
||||
struct termios ti;
|
||||
|
||||
if(o.noninteractive)
|
||||
return;
|
||||
|
||||
if (tty_fd)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user