merge two lines in our get_output_flags() functions
authorLennart Poettering <lennart@poettering.net>
Fri, 10 Nov 2017 20:40:47 +0000 (21:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Nov 2017 20:40:47 +0000 (21:40 +0100)
commit459b9f9ff7852144cf3ba380d9374acb3d46b328
tree388b89999debf9b041f8639ee52061f66a791b4f
parent0b3c84eb7da3a8c28ac248a68228f6a7edbb2e19
merge two lines in our get_output_flags() functions

loginctl, machinectl, systemctl all have very similar implementations of
a get_output_flags() functions. Simplify it by merging two lines that
set the same flag.
src/login/loginctl.c
src/machine/machinectl.c
src/systemctl/systemctl.c