mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
sysctl: propagate failures in parsing credential files
We already propagate failures in parsing conf files in usual places, or given by command arguments. Let's make the behavior consistent.
This commit is contained in:
@@ -323,8 +323,7 @@ static int read_credential_lines(OrderedHashmap **sysctl_options) {
|
||||
if (!j)
|
||||
return log_oom();
|
||||
|
||||
(void) parse_file(sysctl_options, j, /* ignore_enoent= */ true);
|
||||
return 0;
|
||||
return parse_file(sysctl_options, j, /* ignore_enoent= */ true);
|
||||
}
|
||||
|
||||
static int cat_config(char **files) {
|
||||
|
||||
Reference in New Issue
Block a user