mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
service: fix restart enum name
This commit is contained in:
parent
57ee42cefd
commit
40531a555a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user