Fixing io redirection in reload_host() function
This commit is contained in:
1 parent
9355480a8d
commit
6e6322bdb9
1 file changed
+1
-1
@@ -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 "$?"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user