summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl.c2
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);
}