summaryrefslogtreecommitdiff
path: root/service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-13 03:26:20 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-13 03:26:20 +0200
commit40531a555ae313543c0fbb80137edbae71eee773 (patch)
tree09e8108702c993bd9fd77b74152814663c73ca75 /service.c
parent57ee42cefda6a3f3ea3252e0ab9190b709f0ce49 (diff)
service: fix restart enum name
Diffstat (limited to 'service.c')
-rw-r--r--service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service.c b/service.c
index 2d326be137..a7af4fdeea 100644
--- a/service.c
+++ b/service.c
@@ -2006,7 +2006,7 @@ DEFINE_STRING_TABLE_LOOKUP(service_state, ServiceState);
static const char* const service_restart_table[_SERVICE_RESTART_MAX] = {
[SERVICE_ONCE] = "once",
[SERVICE_RESTART_ON_SUCCESS] = "restart-on-success",
- [SERVICE_RESTART_ALWAYS] = "restart-on-failure",
+ [SERVICE_RESTART_ALWAYS] = "restart-always",
};
DEFINE_STRING_TABLE_LOOKUP(service_restart, ServiceRestart);