From ef63fd6a18fc526a1b61373b49e3f54746bcd540 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Tue, 9 Apr 2019 12:59:14 +0200 Subject: [PATCH] Addition to e0f8a2eea6250a81d6d0301e9f3a835a41d0575d --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 0b3098b..67c4781 100755 --- a/testssl.sh +++ b/testssl.sh @@ -18480,8 +18480,8 @@ check_base_requirements() { if ! type -p "${binary}" &> /dev/null; then fatal "You need to install ${binary} for this program to work" $ERR_RESOURCE fi - "${binary}" --help 2>&1 | grep -ivq busybox - if [[ $? -ne 0 ]]; then + "${binary}" --help 2>&1 | grep -iq busybox + if [[ $? -eq 0 ]]; then fatal "${binary} is from busybox. Please install a regular binary" $ERR_RESOURCE fi done