summaryrefslogtreecommitdiffstats
path: root/libexec/container/list
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlibexec/container/list2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/container/list b/libexec/container/list
index c112cc8..2600bab 100755
--- a/libexec/container/list
+++ b/libexec/container/list
@@ -377,7 +377,7 @@ do
*)
LEADER="$(machinectl status ${CONTAINER} | awk '/Leader: / { print $2 }')"
- ADDRESS="$(nsenter --all --target "${LEADER}" /bin/hostname -I | sed -e 's|\r$||' | awk '{ print $1 }')"
+ ADDRESS="$(nsenter --all --target "${LEADER}" /bin/hostname -I)"
;;
esac