mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 11:50:06 +00:00
Fix rustup update to avoid interactive prompts
Redirects stdin from /dev/null when running 'rustup update' to prevent any interactive prompts that may block automated scripts.
This commit is contained in:
parent
4b0fb547e9
commit
ff6cb3b87e
1 changed files with 1 additions and 1 deletions
|
|
@ -4439,7 +4439,7 @@ function setup_rust() {
|
|||
}
|
||||
|
||||
# Update to latest patch version
|
||||
$STD rustup update "$RUST_TOOLCHAIN" || true
|
||||
$STD rustup update "$RUST_TOOLCHAIN" </dev/null || true
|
||||
|
||||
# Ensure PATH is updated for current shell session
|
||||
export PATH="$CARGO_BIN:$PATH"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue