satoru-takeuchi / elkdat

ELKDAT: easy linux kernel development and test tool
GNU General Public License v2.0
112 stars 13 forks source link

remove the entry only when known_hosts file exists #6

Closed naota closed 6 years ago

naota commented 6 years ago

ssh-keygen -R fails when ~/.ssh/known_hosts is missing and cause the init script to fail. This patch adds an extra check to prevent such failure.

satoru-takeuchi commented 6 years ago

thank you very much!