From 37261dc180da709152a59f5d1f676a1e83d28fc4 Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Mon, 8 Aug 2022 22:04:12 +0000 Subject: [PATCH] Protect against $VAGRANT_HOME containing a space --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index d2b9f2b..a2a9b4b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -119,7 +119,7 @@ done # make sure the directories can be written to by vagrant otherwise will # get a start up error -find ${VAGRANT_HOME} -maxdepth 1 ! -exec chown -h ${USER}:${GROUP} {} \+ +find "${VAGRANT_HOME}" -maxdepth 1 ! -exec chown -h ${USER}:${GROUP} {} \+ LIBVIRT_SOCK=/var/run/libvirt/libvirt-sock if [[ ! -S ${LIBVIRT_SOCK} ]]