From 0c6c517a17a8d78c7f50f73479119ae41ffa4a24 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 17 Jul 2018 19:02:53 +0200 Subject: Also allowing symlinks for containers, requires systemd 233 or newer (see #805785). Signed-off-by: Daniel Baumann --- lib/container/list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/container') diff --git a/lib/container/list b/lib/container/list index 6fa9eed..816d521 100755 --- a/lib/container/list +++ b/lib/container/list @@ -322,7 +322,7 @@ esac if ls "${MACHINES}"/* > /dev/null 2>&1 then - CONTAINERS="$(cd "${MACHINES}" 2>/dev/null && find -maxdepth 1 -type d -and -not -name 'lost+found' -printf '%P\n' | sort)" + CONTAINERS="$(cd "${MACHINES}" 2>/dev/null && find -maxdepth 1 \( -type d -or -type l \) -and -not -name 'lost+found' -printf '%P\n' | sort)" fi for CONTAINER in ${CONTAINERS} -- cgit v1.2.3