[systemd-devel] [PATCH 6/6] sysctl: parse all keys in a config file

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sat Oct 27 17:21:59 PDT 2012


On 10/26/2012 01:13 AM, Michal Schmidt wrote:
> Dne 25.10.2012 16:16, Michal Sekletar napsal(a):
>> https://bugzilla.redhat.com/show_bug.cgi?id=869779
>> ---
>>   src/sysctl/sysctl.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c
>> index a68d67f..035e0ec 100644
>> --- a/src/sysctl/sysctl.c
>> +++ b/src/sysctl/sysctl.c
>> @@ -178,7 +178,7 @@ static int parse_file(const char *path, bool
>> ignore_enoent) {
>>
>>                           free(property);
>>                           free(new_value);
>> -                        if (r != -EEXIST)
>> +                        if (r != 0)
>>                                   goto finish;
>>                   }
>>           }
> 
> Applied this one.
> Michal
Applied the rest.

Zbyszek


More information about the systemd-devel mailing list