mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
systemctl: use empty_to_root() where appropriate
This commit is contained in:
@@ -2090,7 +2090,7 @@ static int show_system_status(sd_bus *bus) {
|
||||
FORMAT_TIMESTAMP_STYLE(mi.timestamp, arg_timestamp_style),
|
||||
FORMAT_TIMESTAMP_RELATIVE(mi.timestamp));
|
||||
|
||||
printf(" CGroup: %s\n", mi.control_group ?: "/");
|
||||
printf(" CGroup: %s\n", empty_to_root(mi.control_group));
|
||||
if (IN_SET(arg_transport,
|
||||
BUS_TRANSPORT_LOCAL,
|
||||
BUS_TRANSPORT_MACHINE)) {
|
||||
|
||||
Reference in New Issue
Block a user