summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/print-tcp.c
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2009-10-06 22:00:14 +0000
committerjilles <jilles@FreeBSD.org>2009-10-06 22:00:14 +0000
commitfab15b104fd8b8032114bca20d5768c8af19156d (patch)
tree1f4527ca00ce718b312864a2fb301567490f5fa0 /contrib/tcpdump/print-tcp.c
parent3665e257c1063729cb55852b1e0686ab8301f7d1 (diff)
downloadFreeBSD-src-fab15b104fd8b8032114bca20d5768c8af19156d.zip
FreeBSD-src-fab15b104fd8b8032114bca20d5768c8af19156d.tar.gz
sh: Send the "xyz: not found" message to redirected fd 2.
This also fixes that trying to execute a non-regular file with a command name without '/' returns 127 instead of 126. The fix is rather simplistic: treat CMDUNKNOWN as if the command were found as an external program. The resulting fork is a bit wasteful but executing unknown commands should not be very frequent. PR: bin/137659
Diffstat (limited to 'contrib/tcpdump/print-tcp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud