chiark / gitweb /
unit: shorten active state enums to make systemctl output nicer
[elogind.git] / src / path.c
index 16ea08ddedca3445a3768587180310fe442905d3..80dc3c44d08f42fa3ff7494aad4c5b3bf333dbd1 100644 (file)
@@ -34,7 +34,7 @@ static const UnitActiveState state_translation_table[_PATH_STATE_MAX] = {
         [PATH_DEAD] = UNIT_INACTIVE,
         [PATH_WAITING] = UNIT_ACTIVE,
         [PATH_RUNNING] = UNIT_ACTIVE,
-        [PATH_MAINTENANCE] = UNIT_INACTIVE_MAINTENANCE
+        [PATH_MAINTENANCE] = UNIT_MAINTENANCE
 };
 
 static void path_done(Unit *u) {