diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-20 01:14:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-20 01:14:43 +0200 |
commit | d5159713c13859a7d472625ddaa9f9cc4c546236 (patch) | |
tree | ee068cc0f304bf2fe3bcb54145edf7d31a61d467 /src/service.c | |
parent | 9eb63b3cb4a41707b6c01d81cef15acf1a757613 (diff) |
service: when we cannot start due to rate limít consider that a real failure
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c index 3e2a499ec8..ac83862db7 100644 --- a/src/service.c +++ b/src/service.c @@ -1708,7 +1708,7 @@ static int service_start(Unit *u) { /* Make sure we don't enter a busy loop of some kind. */ if (!ratelimit_test(&s->ratelimit)) { log_warning("%s start request repeated too quickly, refusing to start.", u->meta.id); - return -EAGAIN; + return -ECANCELED; } s->failure = false; |