summaryrefslogtreecommitdiff
path: root/src/home/homed-home-bus.c
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/home/homed-home-bus.c
parent565ac8b1c85acb9550d0645f65ac63ec9a255ffd (diff)
downloadsystemd-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.c1
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);