diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-08-17 22:08:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-08-25 18:18:56 +0200 |
commit | 9be99f81a7675e574a0847780aab83c25cb0e382 (patch) | |
tree | 0cc059733c355a26df35dcd6a9955d5c854163a0 /src/home/homed-home-bus.c | |
parent | 565ac8b1c85acb9550d0645f65ac63ec9a255ffd (diff) | |
download | systemd-9be99f81a7675e574a0847780aab83c25cb0e382.tar.gz |
homed: report a home directory as "dirty" if image file has dirty flag
Diffstat (limited to 'src/home/homed-home-bus.c')
-rw-r--r-- | src/home/homed-home-bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/home/homed-home-bus.c b/src/home/homed-home-bus.c index 6be361a5aa..015eefb718 100644 --- a/src/home/homed-home-bus.c +++ b/src/home/homed-home-bus.c @@ -669,6 +669,7 @@ int bus_home_method_ref( return sd_bus_error_setf(error, BUS_ERROR_HOME_ABSENT, "Home %s is currently missing or not plugged in.", h->user_name); case HOME_UNFIXATED: case HOME_INACTIVE: + case HOME_DIRTY: return sd_bus_error_setf(error, BUS_ERROR_HOME_NOT_ACTIVE, "Home %s not active.", h->user_name); case HOME_LOCKED: return sd_bus_error_setf(error, BUS_ERROR_HOME_LOCKED, "Home %s is currently locked.", h->user_name); |