Update build.sh

Fix some of the output redirection that was messing up return codes
This commit is contained in:
Chris Long
2018-07-02 12:12:47 -07:00
committed by GitHub
parent ddbf173fd5
commit 9355480a8d

View File

@@ -233,7 +233,7 @@ vagrant_up_host() {
HOST="$1"
(echo >&2 "Attempting to bring up the $HOST host using Vagrant")
cd "$DL_DIR"/Vagrant || exit 1
$(which vagrant) up "$HOST" --provider="$PROVIDER" 2> "$DL_DIR/Vagrant/vagrant_up_$HOST.log"
$(which vagrant) up "$HOST" --provider="$PROVIDER" &> "$DL_DIR/Vagrant/vagrant_up_$HOST.log"
echo "$?"
}