applying fix for:

0000263: nc cannot use -e when initiating a tcp connection
    	to something else
This commit is contained in:
Paul Fox 2005-07-20 19:40:30 +00:00
parent 94ff9f1010
commit 982d35ffa2

View File

@ -82,13 +82,6 @@ int nc_main(int argc, char **argv)
}
}
#ifdef CONFIG_NC_GAPING_SECURITY_HOLE
if (pr00gie) {
/* won't need stdin */
close(STDIN_FILENO);
}
#endif /* CONFIG_NC_GAPING_SECURITY_HOLE */
if ((do_listen && optind != argc) || (!do_listen && optind + 2 != argc))
bb_show_usage();