Skip to content

Commit 3351c56

Browse files
Merge pull request #1007 from yasinBursali/fix/gpu-reassign-return-trap
fix(dream-cli): double-quote tmpdir in gpu_reassign RETURN trap
2 parents 25a45b6 + ae29780 commit 3351c56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dream-server/dream-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2866,7 +2866,7 @@ _gpu_reassign() {
28662866
# Write topology to tmpfile and run assignment
28672867
local tmpdir
28682868
tmpdir=$(mktemp -d)
2869-
trap 'rm -rf "$tmpdir"' RETURN
2869+
trap "rm -rf '$tmpdir'" RETURN
28702870
echo "$topo_json" > "$tmpdir/topo.json"
28712871

28722872
local enabled_services="${ENABLED_SERVICES:-llama_server,whisper,comfyui,embeddings}"

0 commit comments

Comments
 (0)