mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Protect against $VAGRANT_HOME containing a space
This commit is contained in:
parent
8a2bae3535
commit
37261dc180
@ -119,7 +119,7 @@ done
|
|||||||
|
|
||||||
# make sure the directories can be written to by vagrant otherwise will
|
# make sure the directories can be written to by vagrant otherwise will
|
||||||
# get a start up error
|
# 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
|
LIBVIRT_SOCK=/var/run/libvirt/libvirt-sock
|
||||||
if [[ ! -S ${LIBVIRT_SOCK} ]]
|
if [[ ! -S ${LIBVIRT_SOCK} ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user