Commit 751b8ce6 authored by Michael Stapelberg's avatar Michael Stapelberg

fix systemctl enable/disable/… error message “Failed to issue method call: No...

fix systemctl enable/disable/… error message “Failed to issue method call: No such file or directory”

For real. This commit was accidentally reverted when merging
upstream-fixes into the debian branch *shakes fist at gitpkg*.

Closes: #738843
parent 4254335e
......@@ -2,6 +2,9 @@ systemd (204-8) UNRELEASED; urgency=low
* move manpages from systemd to libsystemd-*-dev as appropriate
(Closes: #738723)
* fix systemctl enable/disable/ error message Failed to issue method call:
No such file or directory (the previous upload did actually not contain
this fix due to a merge conflict) (Closes: #738843)
-- Michael Stapelberg <stapelberg@debian.org> Thu, 13 Feb 2014 22:52:45 +0100
......
......@@ -4255,6 +4255,9 @@ static int enable_unit(DBusConnection *bus, char **args) {
if (r < 0)
return r;
if (!args[1])
return 0;
dbus_error_init(&error);
if (!bus || avoid_bus()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment