From: Lennart Poettering Date: Tue, 13 Apr 2010 01:26:20 +0000 (+0200) Subject: service: fix restart enum name X-Git-Tag: 0.git+20100605+dfd8ee-1~138 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40531a555ae313543c0fbb80137edbae71eee773;p=systemd service: fix restart enum name --- diff --git a/service.c b/service.c index 2d326be1..a7af4fde 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);