diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-08 18:21:52 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-08 18:21:52 +0200 |
commit | 6daf4f9001d87da9e92c04ff606b454c209f0951 (patch) | |
tree | 1b274eeb9fe507c43ef8e7e716e28e392227bae8 /src/main.c | |
parent | 169c1bda807d183a362b47efe0b5b56e9320e430 (diff) |
unit: rename 'banned' load state to 'masked'
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c index d6f5c56c2a..fa306d6aad 100644 --- a/src/main.c +++ b/src/main.c @@ -1062,8 +1062,8 @@ int main(int argc, char *argv[]) { dbus_error_free(&error); } else if (target->meta.load_state == UNIT_ERROR) log_error("Failed to load default target: %s", strerror(-target->meta.load_error)); - else if (target->meta.load_state == UNIT_BANNED) - log_error("Default target banned."); + else if (target->meta.load_state == UNIT_MASKED) + log_error("Default target masked."); if (!target || target->meta.load_state != UNIT_LOADED) { log_info("Trying to load rescue target..."); @@ -1075,8 +1075,8 @@ int main(int argc, char *argv[]) { } else if (target->meta.load_state == UNIT_ERROR) { log_error("Failed to load rescue target: %s", strerror(-target->meta.load_error)); goto finish; - } else if (target->meta.load_state == UNIT_BANNED) { - log_error("Rescue target banned."); + } else if (target->meta.load_state == UNIT_MASKED) { + log_error("Rescue target masked."); goto finish; } } |