Merge pull request #1896 from PeterDaveHello/FixCompressionDetection

Fix compression detection variable syntax in run_breach()
This commit is contained in:
Dirk Wetter 2021-05-28 22:29:11 +02:00 committed by GitHub
commit d41ea6c814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16446,7 +16446,7 @@ run_breach() {
elif [[ "$detected_compression" =~ no_compression ]]; then
has_compression+=("$c:no")
debugme echo "has_compression: $c: no"
elif [[ -n "detected_compression" ]]; then
elif [[ -n "$detected_compression" ]]; then
has_compression+=("$c:yes")
debugme echo "has_compression: $c: yes"
else