From 5760d63269ca4436944b517fb26f220bf34f9f13 Mon Sep 17 00:00:00 2001 From: Dima Korobskiy Date: Thu, 31 Aug 2023 11:47:44 -0400 Subject: [PATCH] 2.1.7 Fix regression in Bash 5.2 --- ssh-oci-bastion.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh-oci-bastion.sh b/ssh-oci-bastion.sh index 3ff977a..e590b1e 100755 --- a/ssh-oci-bastion.sh +++ b/ssh-oci-bastion.sh @@ -174,7 +174,7 @@ if [[ $port ]]; then set -x # This only works assuming there are no internal quotes in the command $ssh_command - set +x + #set +x exit fi @@ -235,5 +235,5 @@ HEREDOC echo -e "\n[$(date +'%T %Z')] SSH to the target instance via a jump host" set -x ssh "${HOST_USER}@${OCI_INSTANCE}" - set +x + #set +x fi