core: strv_env_clean() modifies in-place, no need to set buf to itself
This commit is contained in:
+1
-1
@@ -934,7 +934,7 @@ static int exec_context_load_environment(const Unit *unit, const ExecContext *c,
|
||||
.path = *path,
|
||||
};
|
||||
|
||||
p = strv_env_clean_with_callback(p, invalid_env, &info);
|
||||
strv_env_clean_with_callback(p, invalid_env, &info);
|
||||
}
|
||||
|
||||
if (!v)
|
||||
|
||||
Reference in New Issue
Block a user