summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-03-06 01:29:29 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-06 01:29:29 +0100
commit6bda96a0234e2d3d61bc36de99c19a9293721fef (patch)
tree45098734a96e9d6d009cae81fdcdfd051f22a63a /src/service.c
parent9cacf564513b5fd6078cd418b104083aab8b9bd8 (diff)
socket: rename 'broken' failure result to 'failed-permanent' on order not to introduce new terminology
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/service.c b/src/service.c
index 5764f5f842..babd9cf9a5 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1436,7 +1436,7 @@ static int service_search_main_pid(Service *s) {
return 0;
}
-static void service_notify_sockets_dead(Service *s, bool broken) {
+static void service_notify_sockets_dead(Service *s, bool failed_permanent) {
Iterator i;
Unit *u;
@@ -1449,7 +1449,7 @@ static void service_notify_sockets_dead(Service *s, bool broken) {
SET_FOREACH(u, UNIT(s)->dependencies[UNIT_TRIGGERED_BY], i)
if (u->type == UNIT_SOCKET)
- socket_notify_service_dead(SOCKET(u), broken);
+ socket_notify_service_dead(SOCKET(u), failed_permanent);
return;
}
@@ -2359,7 +2359,7 @@ static int service_start_limit_test(Service *s) {
}
case SERVICE_START_LIMIT_REBOOT_FORCE:
- log_warning("%s start request repeated too quickly, force rebooting.", UNIT(s)->id);
+ log_warning("%s start request repeated too quickly, forcibly rebooting.", UNIT(s)->id);
UNIT(s)->manager->exit_code = MANAGER_REBOOT;
break;