[systemd-commits] src/systemctl
Lennart Poettering
lennart at kemper.freedesktop.org
Fri Mar 1 05:05:12 PST 2013
src/systemctl/systemctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d6cb60c7a05f15ce3145080007bce602a6cb52ba
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 1 14:04:18 2013 +0100
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.
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);
}
More information about the systemd-commits
mailing list