mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 20:25:38 +03:00
shared/install: fix error codes returned by install_context_apply()
(cherry picked from commit 56a4ce2417
)
This commit is contained in:
parent
417779c58a
commit
84d5cd699e
@ -1897,7 +1897,7 @@ static int install_context_apply(
|
||||
|
||||
q = install_info_traverse(scope, c, paths, i, flags, NULL);
|
||||
if (q < 0) {
|
||||
unit_file_changes_add(changes, n_changes, r, i->name, NULL);
|
||||
unit_file_changes_add(changes, n_changes, q, i->name, NULL);
|
||||
return q;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user