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