]> err.no Git - systemd/commitdiff
service: fix restart enum name
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Apr 2010 01:26:20 +0000 (03:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Apr 2010 01:26:20 +0000 (03:26 +0200)
service.c

index 2d326be13788465cb92b0cdd2df94cc37f5f9a79..a7af4fdeea175ad35bfc96310020153e964fabda 100644 (file)
--- 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);