unit: shorten active state enums to make systemctl output nicer

This commit is contained in:
Lennart Poettering
2010-07-01 03:34:15 +02:00
parent 2419cc5bdb
commit 032ff4afc9
11 changed files with 30 additions and 36 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ static const UnitActiveState state_translation_table[_SOCKET_STATE_MAX] = {
[SOCKET_STOP_POST] = UNIT_DEACTIVATING,
[SOCKET_FINAL_SIGTERM] = UNIT_DEACTIVATING,
[SOCKET_FINAL_SIGKILL] = UNIT_DEACTIVATING,
[SOCKET_MAINTENANCE] = UNIT_INACTIVE_MAINTENANCE
[SOCKET_MAINTENANCE] = UNIT_MAINTENANCE
};
static void socket_init(Unit *u) {