summaryrefslogtreecommitdiffstats
path: root/lib/container/list
diff options
context:
space:
mode:
Diffstat (limited to 'lib/container/list')
-rwxr-xr-xlib/container/list2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/container/list b/lib/container/list
index d522623..0bfc69d 100755
--- a/lib/container/list
+++ b/lib/container/list
@@ -183,6 +183,8 @@ do
;;
esac
+ ADDRESS=""
+
if [ -e "${MACHINES}/${CONTAINER}/etc/network/interfaces" ]
then
ADDRESSES="$(awk '/address/ { print $2 }' ${MACHINES}/${CONTAINER}/etc/network/interfaces)"