projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5522a1f
)
Revert "systemctl: try to reload daemon after enable/disable only when not running...
author
Lennart Poettering
<lennart@poettering.net>
Fri, 1 Mar 2013 13:04:18 +0000
(14:04 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 1 Mar 2013 13:04:18 +0000
(14:04 +0100)
This reverts commit
5522a1fa876f1ab94a2accaadca824799fdf2cab
.
I am an idiot, the chroot case was already filtered out, so no point in
checking this again.
src/systemctl/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index
418a80b
..
c67c6c9
100644
(file)
--- 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);
}