Fix detection of ssh keys (#12230)
This commit is contained in:
@@ -693,7 +693,7 @@ find_host_ssh_keys() {
|
|||||||
/^[[:space:]]*#/ {next}
|
/^[[:space:]]*#/ {next}
|
||||||
/^[[:space:]]*$/ {next}
|
/^[[:space:]]*$/ {next}
|
||||||
{print}
|
{print}
|
||||||
' | grep -E -c '"$re"' || true)
|
' | grep -E -c "$re" || true)
|
||||||
|
|
||||||
if ((c > 0)); then
|
if ((c > 0)); then
|
||||||
files+=("$f")
|
files+=("$f")
|
||||||
|
|||||||
Reference in New Issue
Block a user