mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
conf-files: remove misplaced log_oom()
The caller should log in this case (and all callers in fact already do), hence let's remove the duplicate logging here.
This commit is contained in:
@@ -235,7 +235,7 @@ int conf_files_insert(char ***strv, const char *root, char **dirs, const char *p
|
||||
|
||||
t = path_join(root, path, NULL);
|
||||
if (!t)
|
||||
return log_oom();
|
||||
return -ENOMEM;
|
||||
|
||||
r = strv_insert(strv, i, t);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user