diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-01 14:04:18 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-01 14:04:18 +0100 |
commit | d6cb60c7a05f15ce3145080007bce602a6cb52ba (patch) | |
tree | dc80ceb9cf15debccdbefe244d1c2c0329f96f49 /src/systemctl/systemctl.c | |
parent | 5522a1fa876f1ab94a2accaadca824799fdf2cab (diff) |
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.
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 418a80b6f0..c67c6c972a 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); } |