1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-31 22:26:50 +00:00

The socktype option was documented as type option

This commit is contained in:
Gerhard Rieger 2021-12-26 10:04:13 +01:00
parent d6e5de4f93
commit 08666f631f
3 changed files with 9 additions and 4 deletions

View file

@ -422,7 +422,7 @@ else
SECONDIP6ADDR="[$SECONDIP6ADDR]"
fi
TRUE=$(type true)
TRUE=$(which true)
#E=-e # Linux
if [ $(echo "x\c") = "x" ]; then E=""
elif [ $(echo -e "x\c") = "x" ]; then E="-e"
@ -4046,6 +4046,7 @@ TEST="$NAME: exec against address with ignoreeof"
if ! eval $NUMCOND; then :; else
tf="$td/test$N.stdout"
te="$td/test$N.stderr"
# remark: diagnostics to null, no good style
CMD="$TRACE $SOCAT $opts -lf /dev/null EXEC:$TRUE /dev/null,ignoreeof"
printf "test $F_n $TEST... " $N
$CMD >"$tf" 2>"$te"