chiark / gitweb /
install: simplification
authorLennart Poettering <lennart@poettering.net>
Wed, 23 Apr 2014 04:57:34 +0000 (06:57 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 23 Apr 2014 17:06:38 +0000 (19:06 +0200)
src/shared/install.c

index 6334833812a688ba24010f0eb2bdbcb2f465a8f4..acfba25b245e9b8e89ccb0ba89b8f0813e43beb1 100644 (file)
@@ -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(