Skip to content

Commit cbccb39

Browse files
committed
fix syntax error where "{$var}" results in literal {} wrapped around file name
1 parent aded8ca commit cbccb39

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
@@ -19,7 +19,7 @@ acquire_unbind_lock()
1919
while [[ $attempt -le ${lock_retries} ]]; do
2020
echo "[retry $attempt/${lock_retries}] Attempting to acquire unbindLock for $gpu" >&1
2121

22-
echo 1 > "{$unbind_lock_file}"
22+
echo 1 > "${unbind_lock_file}"
2323
read -r unbind_lock < "${unbind_lock_file}"
2424
if [ ${unbind_lock} -eq 1 ]; then
2525
echo "UnbindLock acquired for $gpu" >&1

0 commit comments

Comments
 (0)