diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-08 02:31:36 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-08 02:31:36 +0200 |
commit | 00dc5d769ac4a4019d6b6fe22e8383ec8b030a96 (patch) | |
tree | db347d86cae6f68f70c085b6560cb313248f2166 /src/unit.c | |
parent | c2b3f093d98a9751ba413c9b5d5c572a8a15932c (diff) |
unit: introduce 'banned' load state for units symlinked to /dev/null
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c index 2f8b92d3b5..d2652bafb2 100644 --- a/src/unit.c +++ b/src/unit.c @@ -2236,7 +2236,8 @@ static const char* const unit_load_state_table[_UNIT_LOAD_STATE_MAX] = { [UNIT_STUB] = "stub", [UNIT_LOADED] = "loaded", [UNIT_ERROR] = "error", - [UNIT_MERGED] = "merged" + [UNIT_MERGED] = "merged", + [UNIT_BANNED] = "banned" }; DEFINE_STRING_TABLE_LOOKUP(unit_load_state, UnitLoadState); |