manager: minor manager_get_show_status() simplification
authorLennart Poettering <lennart@poettering.net>
Wed, 24 Jan 2018 18:52:29 +0000 (19:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 24 Jan 2018 18:52:29 +0000 (19:52 +0100)
commit46fb617bf94a202c74e753407f28d59bec1339f7
tree8dc56153cd7e68a3d47c95dda6c65a0cfde76f6f
parent5a69973ff241dcefbd3bd12827dd43088e75ed4f
manager: minor manager_get_show_status() simplification

Since the the whole function ultimately is just a fancy getter for the
show_status field, let's actually return it as last step literally
without an extra needless "if".
src/core/manager.c