core: add comment explaining ECOMM return value of unit_start()
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Mar 2019 11:16:01 +0000 (12:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Mar 2019 15:06:36 +0000 (16:06 +0100)
we explain all other return values, explain these ones too.

src/core/unit.c

index 185ec3f..4f89db0 100644 (file)
@@ -1730,6 +1730,7 @@ static bool unit_verify_deps(Unit *u) {
  *         -EALREADY:   Unit is already started.
  *         -EAGAIN:     An operation is already in progress. Retry later.
  *         -ECANCELED:  Too many requests for now.
+ *         -ECOMM:      Condition failed
  *         -EPROTO:     Assert failed
  *         -EINVAL:     Unit not loaded
  *         -EOPNOTSUPP: Unit type not supported