1
0
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:
Franck Bui 2019-09-24 18:33:54 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 417779c58a
commit 84d5cd699e

View File

@ -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;
}