mirror of
https://github.com/systemd/systemd.git
synced 2025-03-11 20:58:27 +03:00
core/main: log about save_env() error
This commit is contained in:
parent
0ddf4acab4
commit
eda75b2cb2
@ -3021,7 +3021,7 @@ static int save_env(void) {
|
|||||||
|
|
||||||
l = strv_copy(environ);
|
l = strv_copy(environ);
|
||||||
if (!l)
|
if (!l)
|
||||||
return -ENOMEM;
|
return log_oom();
|
||||||
|
|
||||||
strv_free_and_replace(saved_env, l);
|
strv_free_and_replace(saved_env, l);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user