summaryrefslogtreecommitdiff
path: root/src/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-20 01:14:43 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-20 01:14:43 +0200
commitd5159713c13859a7d472625ddaa9f9cc4c546236 (patch)
treeee068cc0f304bf2fe3bcb54145edf7d31a61d467 /src/unit.c
parent9eb63b3cb4a41707b6c01d81cef15acf1a757613 (diff)
service: when we cannot start due to rate limít consider that a real failure
Diffstat (limited to 'src/unit.c')
-rw-r--r--src/unit.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/unit.c b/src/unit.c
index 8f0b0773f1..bcb95b2adc 100644
--- a/src/unit.c
+++ b/src/unit.c
@@ -735,9 +735,10 @@ fail:
}
/* Errors:
- * -EBADR: This unit type does not support starting.
- * -EALREADY: Unit is already started.
- * -EAGAIN: An operation is already in progress. Retry later.
+ * -EBADR: This unit type does not support starting.
+ * -EALREADY: Unit is already started.
+ * -EAGAIN: An operation is already in progress. Retry later.
+ * -ECANCELED: Too many requests for now.
*/
int unit_start(Unit *u) {
UnitActiveState state;