mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
remove echoing ~ /usr/bin/timeout
This commit is contained in:
parent
b222fe8f53
commit
1c10ad0124
@ -11380,7 +11380,7 @@ find_openssl_binary() {
|
|||||||
HAS_MYSQL=true
|
HAS_MYSQL=true
|
||||||
|
|
||||||
if [[ "$OPENSSL_TIMEOUT" != "" ]]; then
|
if [[ "$OPENSSL_TIMEOUT" != "" ]]; then
|
||||||
if which timeout >&2 2>/dev/null ; then
|
if which timeout 2>&1 >/dev/null ; then
|
||||||
# there are different "timeout". Check whether --preserve-status is supported
|
# there are different "timeout". Check whether --preserve-status is supported
|
||||||
if timeout --help 2>/dev/null | grep -q 'preserve-status'; then
|
if timeout --help 2>/dev/null | grep -q 'preserve-status'; then
|
||||||
OPENSSL="timeout --preserve-status $OPENSSL_TIMEOUT $OPENSSL"
|
OPENSSL="timeout --preserve-status $OPENSSL_TIMEOUT $OPENSSL"
|
||||||
|
Loading…
Reference in New Issue
Block a user