diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-01 13:59:49 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-01 13:59:49 +0100 |
commit | 5522a1fa876f1ab94a2accaadca824799fdf2cab (patch) | |
tree | d21425af91bd953da11f0ebfd20095c154f58c62 /src | |
parent | 82910f1358c1d15f4e432e6d1f42efdeaf1eddb1 (diff) |
systemctl: try to reload daemon after enable/disable only when not running in a chroot
http://lists.freedesktop.org/archives/systemd-devel/2013-February/009208.html
Diffstat (limited to 'src')
-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 c67c6c972a..418a80b6f0 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) + if (!arg_no_reload && running_in_chroot() <= 0) r = daemon_reload(bus, args); } |