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