[Freeipa-devel] [PATCH] Fix client install exception if /etc/ssh is missing

Jan Cholasta jcholast at redhat.com
Thu Jul 4 09:20:12 UTC 2013


On 3.7.2013 22:11, Nathaniel McCallum wrote:
> https://fedorahosted.org/freeipa/ticket/3766
>

If the directory doesn't exist, update_ssh_keys is no-op, so I would prefer

if not os.path.isdir(ssh_dir):
     return

at the beginning of update_ssh_keys instead.

Honza

-- 
Jan Cholasta




More information about the Freeipa-devel mailing list