diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-07-23 21:55:26 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-07-23 21:55:26 +0900 |
commit | 7a293242e07961ce957a1c8325f4352f9611c40b (patch) | |
tree | c37c469074379f67f9abe1c6e4540a9dcf6e5c2f /src/core/dbus-manager.c | |
parent | 46f2579c2ac9f6780d5afec1000764defc6b581e (diff) | |
download | systemd-7a293242e07961ce957a1c8325f4352f9611c40b.tar.gz |
core: normalize ShowStatus
Diffstat (limited to 'src/core/dbus-manager.c')
-rw-r--r-- | src/core/dbus-manager.c | 2 |
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); } |