File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ if [[ $port ]]; then
153153 --target-resource-id " $OCI_INSTANCE_OCID " --target-port " $port " --session-ttl $MAX_TTL \
154154 --ssh-public-key-file $SSH_PUB_KEY --wait-for-state SUCCEEDED --wait-for-state FAILED \
155155 --wait-interval-seconds $CHECK_INTERVAL_SEC \
156- | jq --raw-output ' .data.resources[0].identifier'
156+ | jq --raw-output ' .data.resources[0].identifier' &&
157157 printf " It took:" >&2
158158 )
159159 echo " Created the bastion port forwarding session: $session_ocid "
@@ -188,7 +188,7 @@ if [[ $HOST_USER ]]; then
188188 --target-resource-id " $OCI_INSTANCE_OCID " --target-os-username " $HOST_USER " --session-ttl $MAX_TTL \
189189 --ssh-public-key-file $SSH_PUB_KEY --wait-for-state SUCCEEDED --wait-for-state FAILED \
190190 --wait-interval-seconds $CHECK_INTERVAL_SEC \
191- | jq --raw-output ' .data.resources[0].identifier'
191+ | jq --raw-output ' .data.resources[0].identifier' &&
192192 printf " It took:" >&2
193193 )
194194 echo " Created the bastion session: $session_ocid "
You can’t perform that action at this time.
0 commit comments