core/unit: merge use of LOG_CONTEXT_SET_LOG_LEVEL into LOG_CONTEXT_PUSH_UNIT
No functional change, since LOG_CONTEXT_PUSH_UNIT is only used in exec_spawn().
This commit is contained in:
@@ -396,7 +396,6 @@ int exec_spawn(
|
||||
assert(ret);
|
||||
|
||||
LOG_CONTEXT_PUSH_UNIT(unit);
|
||||
LOG_CONTEXT_SET_LOG_LEVEL(context->log_level_max >= 0 ? context->log_level_max : log_get_max_level());
|
||||
|
||||
r = exec_context_load_environment(unit, context, ¶ms->files_env);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user