Skip to content

Commit

Permalink
fix shellcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Phani Sajja <[email protected]>
  • Loading branch information
sajjaphani committed Dec 13, 2024
1 parent 8685087 commit bca303e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/studio/bin/hab-studio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1045,8 +1045,8 @@ chown_certs() {
# encountering 'device busy' failures on AArch64 Linux. We need this because
# we unmounted the resource and want to allow some time for it to be freed.
busy_sleep() {
local duration=$1
local end_time=$(( $(date +%s) + duration ))
duration="$1"
end_time=$(( $(date +%s) + duration ))
while [ "$(date +%s)" -lt "$end_time" ]; do
: # No-op, keeps the loop running
done
Expand Down

0 comments on commit bca303e

Please sign in to comment.