core: split error list in comment for unit_start() in two
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Mar 2019 12:28:59 +0000 (13:28 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Mar 2019 15:06:36 +0000 (16:06 +0100)
src/core/unit.c

index 1ce7ceb..445cf66 100644 (file)
@@ -1727,12 +1727,14 @@ static bool unit_verify_deps(Unit *u) {
         return true;
 }
 
-/* Errors:
- *         -EBADR:      This unit type does not support starting.
+/* Errors that aren't really errors:
  *         -EALREADY:   Unit is already started.
+ *         -ECOMM:      Condition failed
  *         -EAGAIN:     An operation is already in progress. Retry later.
+ *
+ * Errors that are real errors:
+ *         -EBADR:      This unit type does not support starting.
  *         -ECANCELED:  Start limit hit, too many requests for now
- *         -ECOMM:      Condition failed
  *         -EPROTO:     Assert failed
  *         -EINVAL:     Unit not loaded
  *         -EOPNOTSUPP: Unit type not supported