From: Lennart Poettering Date: Wed, 23 Apr 2014 04:57:34 +0000 (+0200) Subject: install: simplification X-Git-Tag: v213~333 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b91a3b02f3be899dd8a2ae22df5be8de78f5a175;p=elogind.git install: simplification --- diff --git a/src/shared/install.c b/src/shared/install.c index 633483381..acfba25b2 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(