From 0b82d08e8dd3cf7c887489a0e696b2cac9ffc4d9 Mon Sep 17 00:00:00 2001 From: Jon Nall Date: Fri, 9 Mar 2018 19:52:04 -0800 Subject: [PATCH] Fixed exit status check for brew --- util/macos_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/macos_install.sh b/util/macos_install.sh index 551b84b5a..ec8502985 100755 --- a/util/macos_install.sh +++ b/util/macos_install.sh @@ -1,6 +1,6 @@ #!/bin/bash -if brew --version 2>&1 > /dev/null; then +if ! brew --version 2>&1 > /dev/null; then echo "Error! Homebrew not installed or broken!" echo -n "Would you like to install homebrew now? [y/n] " while read ANSWER; do