core/main: log about save_env() error
This commit is contained in:
+1
-1
@@ -3021,7 +3021,7 @@ static int save_env(void) {
|
||||
|
||||
l = strv_copy(environ);
|
||||
if (!l)
|
||||
return -ENOMEM;
|
||||
return log_oom();
|
||||
|
||||
strv_free_and_replace(saved_env, l);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user