mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-06 13:17:44 +03:00
core/unit: check for correct function in vtable
Prompted by61e44e0132
(cherry picked from commit18cf8411b7
) (cherry picked from commit891be0c2e7
) (cherry picked from commita03d5728cb
)
This commit is contained in:
parent
98d254fb35
commit
24e26cad23
@ -6132,7 +6132,7 @@ int activation_details_append_pair(ActivationDetails *details, char ***strv) {
|
||||
return r;
|
||||
}
|
||||
|
||||
if (ACTIVATION_DETAILS_VTABLE(details)->append_env) {
|
||||
if (ACTIVATION_DETAILS_VTABLE(details)->append_pair) {
|
||||
r = ACTIVATION_DETAILS_VTABLE(details)->append_pair(details, strv);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user