summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorJon Nall <nall@users.noreply.github.com>2018-03-10 04:52:04 +0100
committerskullydazed <skullydazed@users.noreply.github.com>2018-03-10 05:10:44 +0100
commit0b82d08e8dd3cf7c887489a0e696b2cac9ffc4d9 (patch)
tree7a120cdc1a4a57c60af65940a662f826d2ed4ecf /util
parentfdeb7f7665899cf52e66436a06774eae10646596 (diff)
downloadqmk_firmware-0b82d08e8dd3cf7c887489a0e696b2cac9ffc4d9.tar.gz
qmk_firmware-0b82d08e8dd3cf7c887489a0e696b2cac9ffc4d9.tar.xz
Fixed exit status check for brew
Diffstat (limited to 'util')
-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 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