summaryrefslogtreecommitdiff
path: root/src/core/dbus-manager.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-07-23 21:55:26 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-07-23 21:55:26 +0900
commit7a293242e07961ce957a1c8325f4352f9611c40b (patch)
treec37c469074379f67f9abe1c6e4540a9dcf6e5c2f /src/core/dbus-manager.c
parent46f2579c2ac9f6780d5afec1000764defc6b581e (diff)
downloadsystemd-7a293242e07961ce957a1c8325f4352f9611c40b.tar.gz
core: normalize ShowStatus
Diffstat (limited to 'src/core/dbus-manager.c')
-rw-r--r--src/core/dbus-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 4ed68af1e0..4c0f79b983 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -232,7 +232,7 @@ static int property_get_show_status(
assert(reply);
assert(m);
- b = m->show_status > 0;
+ b = IN_SET(m->show_status, SHOW_STATUS_TEMPORARY, SHOW_STATUS_YES);
return sd_bus_message_append_basic(reply, 'b', &b);
}