mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 14:23:41 +01:00
hide errors when json format is used
This commit is contained in:
parent
278dab4800
commit
b80b5cdd35
@ -485,7 +485,9 @@ debug "target: $TARGET"
|
|||||||
tmp="$($OPENSSLBIN -h 2>&1 1>/dev/null)"
|
tmp="$($OPENSSLBIN -h 2>&1 1>/dev/null)"
|
||||||
if [ $? -gt 0 ]; then
|
if [ $? -gt 0 ]; then
|
||||||
OPENSSLBIN=$(which openssl)
|
OPENSSLBIN=$(which openssl)
|
||||||
echo "custom openssl not executable, falling back to system one from $OPENSSLBIN"
|
if [ "$OUTPUTFORMAT" == "terminal" ]; then
|
||||||
|
echo "custom openssl not executable, falling back to system one from $OPENSSLBIN"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SCLIENTARGS=$(sed -e s,${TEMPTARGET},,<<<"${@}")
|
SCLIENTARGS=$(sed -e s,${TEMPTARGET},,<<<"${@}")
|
||||||
|
Loading…
Reference in New Issue
Block a user