Skip to content

Commit

Permalink
Protect against $VAGRANT_HOME containing a space
Browse files Browse the repository at this point in the history
  • Loading branch information
a1346054 committed Aug 8, 2022
1 parent 8a2bae3 commit 37261dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} ]]
Expand Down

0 comments on commit 37261dc

Please sign in to comment.