diff options
-rw-r--r-- | fixme | 2 | ||||
-rw-r--r-- | src/dbus-unit.c | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -55,7 +55,7 @@ * maintenance muss dokumentiert werden -* fingerprint.target, smartcard.target, wireless.target, gps.target +* fingerprint.target, wireless.target, gps.target External: diff --git a/src/dbus-unit.c b/src/dbus-unit.c index 66b7ae8297..ce34130993 100644 --- a/src/dbus-unit.c +++ b/src/dbus-unit.c @@ -128,7 +128,8 @@ int bus_unit_append_can_start(Manager *m, DBusMessageIter *i, const char *proper assert(property); assert(u); - b = unit_can_start(u); + b = unit_can_start(u) && + !u->meta.only_by_dependency; if (!dbus_message_iter_append_basic(i, DBUS_TYPE_BOOLEAN, &b)) return -ENOMEM; |