Skip to content

Commit

Permalink
Add double brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
wajihyassine committed Dec 4, 2023
1 parent dca7ba8 commit b0db2cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turbinia/e2e/run-e2e-gke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ turbinia-client submit googleclouddisk --project $GCP_PROJECT --zone $GCP_ZONE -

# Wait until request is received
req=$(turbinia-client status request $REQUEST_ID -j)
while [ -z $req ]
while [[ -z "$req" ]]
do
echo "Request $REQUEST_ID is still populating. Sleeping for 5 seconds..."
sleep 5
Expand All @@ -81,7 +81,7 @@ done

# Wait until request is complete
req_status=$(turbinia-client status request $REQUEST_ID -j | jq -r '.status')
while [ $req_status = "running" ]
while [[ $req_status = "running" ]]
do
req_status=$(turbinia-client status request $REQUEST_ID -j | jq -r '.status')
if [[ $req_status = "running" ]]
Expand Down

0 comments on commit b0db2cf

Please sign in to comment.