Fix virtualbox presence check
This commit is contained in:
1 parent
e9d24d11a3
commit
1bcb1af9e2
1 file changed
+3
-3
@@ -29,10 +29,10 @@ check_vagrant() {
|
|||||||
|
|
||||||
# Returns 0 if not installed or 1 if installed
|
# Returns 0 if not installed or 1 if installed
|
||||||
check_virtualbox_installed() {
|
check_virtualbox_installed() {
|
||||||
if ! which VBoxManage >/dev/null; then
|
if which VBoxManage >/dev/null; then
|
||||||
echo "0"
|
|
||||||
else
|
|
||||||
echo "1"
|
echo "1"
|
||||||
|
else
|
||||||
|
echo "0"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user