diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-11-29 12:50:22 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-11-29 13:04:50 +0100 |
commit | 3bfb1010b26ccb5beefd6986e655330747dbdf79 (patch) | |
tree | 9f56399bbdc608d584fafa69cb4eb0f4851c274f /src/machine | |
parent | 4527a83bc7f25299eeb86cede21efb88f638b9bc (diff) | |
download | systemd-3bfb1010b26ccb5beefd6986e655330747dbdf79.tar.gz systemd-3bfb1010b26ccb5beefd6986e655330747dbdf79.tar.bz2 systemd-3bfb1010b26ccb5beefd6986e655330747dbdf79.zip |
machinectl: fix printing of multiple addresses
We'd print everything jumbled together:
$ machinectl --max-addresses=3
MACHINE CLASS SERVICE OS VERSION ADDRESSES
rawhide container systemd-nspawn fedora 30 169.254.40.164fe80::94aa:3aff:fe7b:d4b9
Diffstat (limited to 'src/machine')
-rw-r--r-- | src/machine/machinectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 898be80a22..b244e0499f 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -331,7 +331,7 @@ static int list_machines(int argc, char *argv[], void *userdata) { name, 0, "", - "", + " ", arg_addrs, &addresses); |