From 1bcb1af9e2eb6300b597a539e87eb327f766e684 Mon Sep 17 00:00:00 2001 From: Filippo Anarratone Date: Thu, 15 Mar 2018 13:58:52 +0000 Subject: [PATCH] Fix virtualbox presence check --- build_vagrant_only.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_vagrant_only.sh b/build_vagrant_only.sh index 3226be3..0e96a43 100755 --- a/build_vagrant_only.sh +++ b/build_vagrant_only.sh @@ -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 }