Commit 064f51fa authored by Lennart Poettering's avatar Lennart Poettering
Browse files

unit: consider only_by_dependency setting when clients ask whether a unit is startable

parent d0642824
......@@ -55,7 +55,7 @@
* maintenance muss dokumentiert werden
......@@ -128,7 +128,8 @@ int bus_unit_append_can_start(Manager *m, DBusMessageIter *i, const char *proper
b = unit_can_start(u);
b = unit_can_start(u) &&
if (!dbus_message_iter_append_basic(i, DBUS_TYPE_BOOLEAN, &b))
return -ENOMEM;
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