summaryrefslogtreecommitdiff
path: root/src/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-01 03:34:15 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-01 03:34:15 +0200
commit032ff4afc953cae076ce0ee6a0b85020eeb1a75a (patch)
treea02edabae64a7b9d52c33b6ee77f40e59ad0fb19 /src/socket.c
parent2419cc5bdb66304adf7be4cf60af91979c5d24d9 (diff)
unit: shorten active state enums to make systemctl output nicer
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 83f8ebe6ad..7e62dbce96 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -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) {