Use -f in ssh remoting too (#14773)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-07-18 19:24:59 -06:00 committed by GitHub
parent 3c417864e6
commit 5008a388e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1170,7 +1170,7 @@ pub async fn spawn_ssh_task(
"-x".to_string(),
"-c".to_string(),
format!(
r#"~/.local/bin/zed -v >/dev/stderr || (curl -sSL https://zed.dev/install.sh || wget -qO- https://zed.dev/install.sh) | bash && ~/.local/bin/zed --dev-server-token {}"#,
r#"~/.local/bin/zed -v >/dev/stderr || (curl -f https://zed.dev/install.sh || wget -qO- https://zed.dev/install.sh) | sh && ~/.local/bin/zed --dev-server-token {}"#,
access_token
),
];