Revert "systemctl: try to reload daemon after enable/disable only when not running in a chroot"
This reverts commit 5522a1fa87
.
I am an idiot, the chroot case was already filtered out, so no point in
checking this again.
This commit is contained in:
parent
5522a1fa87
commit
d6cb60c7a0
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue