summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall-pixelated.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/install-pixelated.sh b/install-pixelated.sh
index 55fcc172..3e21f251 100755
--- a/install-pixelated.sh
+++ b/install-pixelated.sh
@@ -44,12 +44,14 @@ done
shift $((OPTIND-1))
function check_installed() {
+ set +e
which $1
if [ $? -ne 0 ]; then
echo "## You must have ${1} installed and in the PATH to run Pixelated-User-Agent"
echo "## exiting..."
exit 1
fi
+ set -e
}
function install_node_modules_at_custom_location() {