Fixing io redirection in reload_host() function

This commit is contained in:
Chris Long
2018-07-02 21:20:36 -07:00
committed by GitHub
parent 9355480a8d
commit 6e6322bdb9

View File

@@ -242,7 +242,7 @@ vagrant_reload_host() {
HOST="$1" HOST="$1"
cd "$DL_DIR"/Vagrant || exit 1 cd "$DL_DIR"/Vagrant || exit 1
# Attempt to reload the host if the vagrant up command didn't exit cleanly # Attempt to reload the host if the vagrant up command didn't exit cleanly
$(which vagrant) reload "$HOST" --provision 1>&2 $(which vagrant) reload "$HOST" --provision &>> "$DL_DIR/Vagrant/vagrant_up_$HOST.log"
echo "$?" echo "$?"
} }