1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

machinectl: don't return 1 in case we couldn't figure out container IP addresses (#5587)

This is in spirit very similar to commit
4b2419165c.

Fixes: #5581
This commit is contained in:
Michal Sekletar 2017-03-14 22:38:19 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent ff8017c4a2
commit 3c302cddfb

View File

@ -340,6 +340,7 @@ static int list_machines(int argc, char *argv[], void *userdata) {
printf("No machines.\n");
}
r = 0;
out:
clean_machine_info(machines, n_machines);
return r;