chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a9f4815
)
sysctl: parse all keys in a config file
author
Michal Sekletar
<msekleta@redhat.com>
Thu, 25 Oct 2012 14:16:19 +0000
(16:16 +0200)
committer
Michal Schmidt
<mschmidt@redhat.com>
Thu, 25 Oct 2012 23:12:22 +0000
(
01:12
+0200)
https://bugzilla.redhat.com/show_bug.cgi?id=869779
src/sysctl/sysctl.c
patch
|
blob
|
history
diff --git
a/src/sysctl/sysctl.c
b/src/sysctl/sysctl.c
index a68d67fd4b30fc79d684a98a724bd1cd226dd840..035e0ec321c5a4d951fd91e7761fc6430edb0f29 100644
(file)
--- 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);
free(property);
free(new_value);
- if (r !=
-EEXIST
)
+ if (r !=
0
)
goto finish;
}
}
goto finish;
}
}