diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/machine/machinectl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index c84deba1c0..0f9e732ada 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -158,6 +158,9 @@ static int list_machines(int argc, char *argv[], void *userdata) { while ((r = sd_bus_message_read(reply, "(ssso)", &name, &class, &service, &object)) > 0) { size_t l; + if (name[0] == '.' && !arg_all) + continue; + if (!GREEDY_REALLOC(machines, n_allocated, n_machines + 1)) return log_oom(); |