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:
2d02719
)
initctl: load the sysv compat targets if they aren't loaded yet
author
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Apr 2010 20:29:23 +0000
(22:29 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Apr 2010 20:29:23 +0000
(22:29 +0200)
initctl.c
patch
|
blob
|
history
diff --git
a/initctl.c
b/initctl.c
index
a13aed3
..
6dcc86f
100644
(file)
--- a/
initctl.c
+++ b/
initctl.c
@@
-109,7
+109,7
@@
static void change_runlevel(Server *s, int runlevel) {
log_debug("Running request %s", target);
- if (!(m = dbus_message_new_method_call("org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.systemd1.Manager", "
Get
Unit"))) {
+ if (!(m = dbus_message_new_method_call("org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.systemd1.Manager", "
Load
Unit"))) {
log_error("Could not allocate message.");
goto finish;
}