Protect against $VAGRANT_HOME containing a space

This commit is contained in:
a1346054 2022-08-08 22:04:12 +00:00
parent 8a2bae3535
commit 37261dc180
No known key found for this signature in database
GPG Key ID: D149AD21DC40440C

View File

@ -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} ]]