From 64c9bf27c10e88a27b7f58c0ca8405bbf8606163 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 26 Feb 2020 15:34:42 -0500 Subject: [PATCH] Fix exit statement in upgrade script --- upgrade.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upgrade.sh b/upgrade.sh index f672d4c90..aab7a6919 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -17,11 +17,11 @@ fi # Create a new virtual environment COMMAND="/usr/bin/python3 -m venv ${VIRTUALENV}" echo "Creating a new virtual environment at ${VIRTUALENV}..." -eval $COMMAND || ( +eval $COMMAND || { echo "Failed to create the virtual environment. Check that you have the" echo "required system packages installed." exit 1 -) +} # Activate the virtual environment source "${VIRTUALENV}/bin/activate"