summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-04-23 06:57:34 +0200
committerLennart Poettering <lennart@poettering.net>2014-04-23 19:06:38 +0200
commitb91a3b02f3be899dd8a2ae22df5be8de78f5a175 (patch)
tree47e69464e64a1146565befe18a7a07845e726611
parent113283c493cead39fc362bb8433f40d6c29ef6c8 (diff)
downloadsystemd-b91a3b02f3be899dd8a2ae22df5be8de78f5a175.tar.gz
install: simplification
-rw-r--r--src/shared/install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index 6334833812..acfba25b24 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -1494,8 +1494,8 @@ int unit_file_enable(
supposed to be created, not the ones actually created. This is
useful to determine whether the passed files had any
installation data at all. */
- r = install_context_apply(&c, &paths, config_path, root_dir, force, changes, n_changes);
- return r;
+
+ return install_context_apply(&c, &paths, config_path, root_dir, force, changes, n_changes);
}
int unit_file_disable(