summaryrefslogtreecommitdiffstats
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 22:38:19 +0100
commit3c302cddfb2e921578d1238ebcc0cb5ff34fbebe (patch)
tree125ae026010baa1ebb1abee70f54a2507d6ee2d7 /src/machine/machinectl.c
parentNever call unmap with MAP_FAILED. (#5590) (diff)
downloadsystemd-3c302cddfb2e921578d1238ebcc0cb5ff34fbebe.tar.xz
systemd-3c302cddfb2e921578d1238ebcc0cb5ff34fbebe.zip
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 '')
-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;