From dfb2c763cda8c8546db9bfafd60706f22a3afff6 Mon Sep 17 00:00:00 2001 From: Shea Ramage Date: Sat, 17 Feb 2018 18:34:07 -0500 Subject: [PATCH] Check for xargo for realsies this time Previously checked for exit code 1, when it should have been checking for 0. --- scripts/install-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-env.sh b/scripts/install-env.sh index c97223b5..b59af16e 100755 --- a/scripts/install-env.sh +++ b/scripts/install-env.sh @@ -95,7 +95,7 @@ set +e echo "${bold}install-env:${normal} Checking if xargo is installed..." command -v xargo >/dev/null 2>&1 -if [[ $? -eq 1 ]]; then +if [[ $? -eq 0 ]]; then echo "${bold}install-env:${normal} xargo is already installed." exit 0 else