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:
Lennart Poettering
2018-11-30 16:55:57 +01:00
parent 243dd6ae1d
commit a7181c671a

View File

@@ -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)