diff options
Diffstat (limited to 'src/remote')
| -rw-r--r-- | src/remote/unix.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote/unix.rs b/src/remote/unix.rs index 7544585f..40e8bb45 100644 --- a/src/remote/unix.rs +++ b/src/remote/unix.rs @@ -1449,7 +1449,7 @@ fn download_release_asset(platform: &RemotePlatform) -> io::Result<InstallSource let dir = private_download_dir(&asset_key)?; let path = dir.join("herdr.tmp"); - let status = Command::new("curl") + let status = crate::noninteractive_process::curl_command() .args(["-sfL", "--max-time", "120", "-o"]) .arg(&path) .arg(&asset.url) @@ -1473,7 +1473,7 @@ fn download_release_asset(platform: &RemotePlatform) -> io::Result<InstallSource } fn fetch_remote_manifest(url: &str) -> io::Result<Vec<u8>> { - let output = Command::new("curl") + let output = crate::noninteractive_process::curl_command() .args([ "-sfL", "--retry", |
