Fix _known_hosts_real: awkcurd > curd
This commit is contained in:
parent
db739401f7
commit
d5d7592169
@ -1360,7 +1360,7 @@ _known_hosts_real()
|
||||
# dont fork any processes, because in a cluster environment,
|
||||
# there can be hundreds of hostkeys
|
||||
for i in "${khd[@]}" ; do
|
||||
if [[ "$i" == *key_22_$awkcurd*.pub && -r "$i" ]]; then
|
||||
if [[ "$i" == *key_22_$curd*.pub && -r "$i" ]]; then
|
||||
host=${i/#*key_22_/}
|
||||
host=${host/%.pub/}
|
||||
COMPREPLY=( "${COMPREPLY[@]}" $host )
|
||||
|
Loading…
x
Reference in New Issue
Block a user