summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-07-02 01:35:58 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-02 01:48:55 +0200
commit358712f3de33789b2d1293825f1add2c6f4b8e66 (patch)
tree3d95de3553455b37e1a68a6a8f167eac8a81490e
parentscope: implement reset-failed command (diff)
downloadsystemd-358712f3de33789b2d1293825f1add2c6f4b8e66.tar.xz
systemd-358712f3de33789b2d1293825f1add2c6f4b8e66.zip
scope: fix state string table
-rw-r--r--src/core/scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/scope.c b/src/core/scope.c
index e1a3545dbb..e0de951b11 100644
--- a/src/core/scope.c
+++ b/src/core/scope.c
@@ -414,7 +414,7 @@ _pure_ static const char *scope_sub_state_to_string(Unit *u) {
static const char* const scope_state_table[_SCOPE_STATE_MAX] = {
[SCOPE_DEAD] = "dead",
- [SCOPE_RUNNING] = "active",
+ [SCOPE_RUNNING] = "running",
[SCOPE_STOP_SIGTERM] = "stop-sigterm",
[SCOPE_STOP_SIGKILL] = "stop-sigkill",
[SCOPE_FAILED] = "failed",