summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Nall <nall@users.noreply.github.com>2018-03-09 19:52:04 -0800
committerskullydazed <skullydazed@users.noreply.github.com>2018-03-09 20:10:44 -0800
commit0b82d08e8dd3cf7c887489a0e696b2cac9ffc4d9 (patch)
tree7a120cdc1a4a57c60af65940a662f826d2ed4ecf
parentfdeb7f7665899cf52e66436a06774eae10646596 (diff)
Fixed exit status check for brew
-rwxr-xr-xutil/macos_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/macos_install.sh b/util/macos_install.sh
index 551b84b5aa..ec8502985a 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