summaryrefslogtreecommitdiff
path: root/src/machine/machinectl.c
diff options
context:
space:
mode:
authorMichal Sekletar <msekletar@users.noreply.github.com>2017-03-14 22:38:19 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-03-14 17:38:19 -0400
commit3c302cddfb2e921578d1238ebcc0cb5ff34fbebe (patch)
tree125ae026010baa1ebb1abee70f54a2507d6ee2d7 /src/machine/machinectl.c
parentff8017c4a29c80a8260d658194e2ae41674906c5 (diff)
machinectl: don't return 1 in case we couldn't figure out container IP addresses (#5587)
This is in spirit very similar to commit 4b2419165ce409ee55ce96a926302f89685f2293. Fixes: #5581
Diffstat (limited to 'src/machine/machinectl.c')
-rw-r--r--src/machine/machinectl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 28384286fb..3031ed5def 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -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;