summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-03-18 13:28:59 +0100
committerLennart Poettering <lennart@poettering.net>2019-03-18 16:06:36 +0100
commit9adb695987dbf5a147d62e12b8f107223643f9ce (patch)
treefc01c00eac80700825751614b8dad64e048463e5
parent36c4dc089e21e731e7ff5519aa6c636dd55e30e5 (diff)
downloadsystemd-9adb695987dbf5a147d62e12b8f107223643f9ce.tar.gz
core: split error list in comment for unit_start() in two
-rw-r--r--src/core/unit.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 1ce7ceb3e1..445cf6695c 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -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