Skip to content

Commit 5718f9b

Browse files
Update vllm/setup.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cf9ab8e commit 5718f9b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

vllm/setup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ chmod +x "$HOME/vllm-examples/curl_test.sh"
230230

231231
# Fix permissions if running as root
232232
if [ "$(id -u)" -eq 0 ]; then
233-
chown -R $USER:$USER "$VLLM_DIR"
234-
chown -R $USER:$USER "$HOME/vllm-examples"
235-
chown -R $USER:$USER "$HOME/.cache/huggingface" 2>/dev/null || true
233+
chown -R "$USER:$USER" "$VLLM_DIR"
234+
chown -R "$USER:$USER" "$HOME/vllm-examples"
235+
chown -R "$USER:$USER" "$HOME/.cache/huggingface" 2>/dev/null || true
236236
fi
237237

238238
# Reload systemd and enable service (but don't start yet)

0 commit comments

Comments
 (0)