Skip to content

Commit b8b23b9

Browse files
authored
Merge pull request #1813 from drwetter/file_exec_fix
Fixes the search for a non-executable socat binary
2 parents a9f4bb5 + 5439985 commit b8b23b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19195,7 +19195,7 @@ find_socat() {
1919519195
if [[ $? -ne 0 ]]; then
1919619196
return 1
1919719197
else
19198-
if [[ -x $result ]] && $result -V | grep -iaq 'socat version' ; then
19198+
if [[ -x $result ]] && $result -V 2>&1 | grep -iaq 'socat version' ; then
1919919199
SOCAT=$result
1920019200
return 0
1920119201
fi

0 commit comments

Comments
 (0)