diff options
Diffstat (limited to 'src/share/m/update_known_hosts')
-rw-r--r-- | src/share/m/update_known_hosts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/share/m/update_known_hosts b/src/share/m/update_known_hosts index a031118..737666d 100644 --- a/src/share/m/update_known_hosts +++ b/src/share/m/update_known_hosts @@ -44,6 +44,8 @@ update_known_hosts() { trap "lock remove $KNOWN_HOSTS; rm -f $tmpFile" EXIT + cat "$KNOWN_HOSTS" >"$tmpFile" + for host ; do FILE_TYPE='known_hosts' process_keys_for_file "$tmpFile" "ssh://${host}" |