summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-08-17 22:08:29 +0200
committerLennart Poettering <lennart@poettering.net>2020-08-25 18:18:56 +0200
commit9be99f81a7675e574a0847780aab83c25cb0e382 (patch)
tree0cc059733c355a26df35dcd6a9955d5c854163a0 /src/shared
parent565ac8b1c85acb9550d0645f65ac63ec9a255ffd (diff)
downloadsystemd-9be99f81a7675e574a0847780aab83c25cb0e382.tar.gz
homed: report a home directory as "dirty" if image file has dirty flag
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/user-record-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/user-record-show.c b/src/shared/user-record-show.c
index 6aeb6bd330..551df720ba 100644
--- a/src/shared/user-record-show.c
+++ b/src/shared/user-record-show.c
@@ -16,7 +16,7 @@ const char *user_record_state_color(const char *state) {
return ansi_grey();
else if (streq(state, "active"))
return ansi_highlight_green();
- else if (streq(state, "locked"))
+ else if (STR_IN_SET(state, "locked", "dirty"))
return ansi_highlight_yellow();
return NULL;