Skip to content

Commit 8ad5c2b

Browse files
authored
Merge pull request #968 from leiyiz/main
fix syntax error where "{$var}" results in literal {} wrapped around file name
2 parents 7cc6c2e + 13658f5 commit 8ad5c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/unbind_from_driver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ acquire_unbind_lock()
3333
while [[ $attempt -le ${lock_retries} ]]; do
3434
echo "[retry $attempt/${lock_retries}] Attempting to acquire unbindLock for $gpu" >&1
3535

36-
echo 1 > "{$unbind_lock_file}"
36+
echo 1 > "${unbind_lock_file}"
3737
read -r unbind_lock < "${unbind_lock_file}"
3838
if [ ${unbind_lock} -eq 1 ]; then
3939
echo "UnbindLock acquired for $gpu" >&1

0 commit comments

Comments
 (0)