diff --git a/nmap_tty.cc b/nmap_tty.cc index 8ce557e9f..08dc1e043 100644 --- a/nmap_tty.cc +++ b/nmap_tty.cc @@ -207,6 +207,9 @@ void tty_init() { struct termios ti; + if(o.noninteractive) + return; + if (tty_fd) return;