core: add missing log_oom()

This commit is contained in:
Yu Watanabe
2021-01-18 01:25:05 +09:00
parent ca9169f47f
commit 16eb0c4ad0
+2 -2
View File
@@ -2743,7 +2743,7 @@ int config_parse_pass_environ(
if (n) {
r = strv_extend_strv(passenv, n, true);
if (r < 0)
return r;
return log_oom();
}
return 0;
@@ -2818,7 +2818,7 @@ int config_parse_unset_environ(
if (n) {
r = strv_extend_strv(unsetenv, n, true);
if (r < 0)
return r;
return log_oom();
}
return 0;