diff options
author | Michal Sekletar <msekleta@redhat.com> | 2014-09-22 09:38:38 +0200 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2014-09-25 09:19:56 +0200 |
commit | a5f6c30da3ac58081108221bf8a0f6f1d84b33a9 (patch) | |
tree | 63d30290083d307398b09c7c0684933c0430e8c3 /src/libsystemd | |
parent | 078ef7b85ad77ba999588f72b31a50ced5907692 (diff) |
fileio: make parse_env_file() return number of parsed items
This commit introduces possibility to call parse_env_file_internal() and hand
over extra argument where we will accumulate how many items were successfully
parsed and pushed by callback. We make use of this in parse_env_file() and
return number of parsed items on success instead of always returning zero.
As a side-effect this commit should fix bug that locale settings in
/etc/locale.conf are not overriden by options passed via kernel command line.
Diffstat (limited to 'src/libsystemd')
0 files changed, 0 insertions, 0 deletions