chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
service: when we cannot start due to rate limÃt consider that a real failure
[elogind.git]
/
src
/
service.c
diff --git
a/src/service.c
b/src/service.c
index 3e2a499ec86bc73554672e02e3e789d6863cb46e..ac83862db770c39e886b8bf44694ecd3edea3835 100644
(file)
--- 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 -E
AGAIN
;
+ return -E
CANCELED
;
}
s->failure = false;