From d6cb60c7a05f15ce3145080007bce602a6cb52ba Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 1 Mar 2013 14:04:18 +0100 Subject: [PATCH] Revert "systemctl: try to reload daemon after enable/disable only when not running in a chroot" This reverts commit 5522a1fa876f1ab94a2accaadca824799fdf2cab. I am an idiot, the chroot case was already filtered out, so no point in checking this again. --- src/systemctl/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 418a80b..c67c6c9 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -3951,7 +3951,7 @@ static int enable_unit(DBusConnection *bus, char **args) { } /* Try to reload if enabeld */ - if (!arg_no_reload && running_in_chroot() <= 0) + if (!arg_no_reload) r = daemon_reload(bus, args); } -- 2.7.4