Fix detection of ssh keys (#12230)

This commit is contained in:
Tempest authored and GitHub committed 2026-02-25 08:23:14 +01:00
1 parent a94bf79869
commit 8c0016c0a7
1 file changed
+1 -1
+1 -1
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")