mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-26 10:03:40 +03:00
systemctl: suppress second argument of ternary op where we can
This commit is contained in:
parent
a21e88d476
commit
5e1b4929f5
@ -2078,7 +2078,7 @@ static int show_system_status(sd_bus *bus) {
|
||||
off = ansi_normal();
|
||||
}
|
||||
|
||||
printf("%s%s%s %s\n", on, special_glyph(SPECIAL_GLYPH_BLACK_CIRCLE), off, arg_host ? arg_host : hn);
|
||||
printf("%s%s%s %s\n", on, special_glyph(SPECIAL_GLYPH_BLACK_CIRCLE), off, arg_host ?: hn);
|
||||
|
||||
printf(" State: %s%s%s\n",
|
||||
on, strna(mi.state), off);
|
||||
|
Loading…
x
Reference in New Issue
Block a user