diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c index a68d67fd4..035e0ec32 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; } }