sysctl: parse all keys in a config file

https://bugzilla.redhat.com/show_bug.cgi?id=869779
This commit is contained in:
Michal Sekletar 2012-10-25 16:16:19 +02:00 committed by Michal Schmidt
parent a9f4815da5
commit 91b32fa987
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}