[Freeipa-devel] [PATCH] 302 Do not corrupt sshd_config in client install when trailing newline is missing

Jan Cholasta jcholast at redhat.com
Thu Jun 26 11:39:26 UTC 2014


On 26.6.2014 12:43, Petr Viktorin wrote:
> On 06/26/2014 12:18 PM, Martin Kosek wrote:
>> On 06/18/2014 03:56 PM, Jan Cholasta wrote:
>>> Hi,
>>>
>>> the attached patch fixes <https://fedorahosted.org/freeipa/ticket/4373>.
>>>
>>> Honza
>>
>> Works fine, tested with
>> # perl -i -pe 'chomp if eof' /etc/ssh/sshd_config
>> trick.
>>
>> ACK, pushed to master.
>>
>> Martin
>>
>
> It would be really nice to have some tests for this function.
>

It would be even nicer to use Augeas to handle this.

-- 
Jan Cholasta




More information about the Freeipa-devel mailing list