mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
applying fix for:
0000263: nc cannot use -e when initiating a tcp connection to something else
This commit is contained in:
parent
94ff9f1010
commit
982d35ffa2
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user