summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2019-09-24 18:33:54 +0200
committerFranck Bui <fbui@suse.com>2019-09-24 19:05:05 +0200
commit56a4ce2417ff74f82a48e3a5c6e36edad8d4bc6c (patch)
treebfb32c90501f84404d22c8508a5c62a03becadb0 /src
parentfaf205de3ba9a11b0ba17682123d7f3fedc7da24 (diff)
downloadsystemd-56a4ce2417ff74f82a48e3a5c6e36edad8d4bc6c.tar.gz
shared/install: fix error codes returned by install_context_apply()
Diffstat (limited to 'src')
-rw-r--r--src/shared/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index 8f9cf4a2f4..0724dd96ee 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -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;
}