Fix detection of ssh keys (#12230)

This commit is contained in:
Tempest 2026-02-25 01:23:14 -06:00 committed by GitHub
parent a94bf79869
commit 8c0016c0a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -693,7 +693,7 @@ find_host_ssh_keys() {
/^[[:space:]]*#/ {next}
/^[[:space:]]*$/ {next}
{print}
' | grep -E -c '"$re"' || true)
' | grep -E -c "$re" || true)
if ((c > 0)); then
files+=("$f")