Update build.sh
Fix some of the output redirection that was messing up return codes
This commit is contained in:
2
build.sh
2
build.sh
@@ -233,7 +233,7 @@ vagrant_up_host() {
|
|||||||
HOST="$1"
|
HOST="$1"
|
||||||
(echo >&2 "Attempting to bring up the $HOST host using Vagrant")
|
(echo >&2 "Attempting to bring up the $HOST host using Vagrant")
|
||||||
cd "$DL_DIR"/Vagrant || exit 1
|
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 "$?"
|
echo "$?"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user