diff options
Diffstat (limited to 'src/detect')
| -rw-r--r-- | src/detect/manifest_update.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/detect/manifest_update.rs b/src/detect/manifest_update.rs index 02efa3bc..8c5fc339 100644 --- a/src/detect/manifest_update.rs +++ b/src/detect/manifest_update.rs @@ -4,7 +4,7 @@ use std::{ fmt, fs, io::{Read, Write}, path::{Path, PathBuf}, - process::{Command, Stdio}, + process::Stdio, time::{SystemTime, UNIX_EPOCH}, }; @@ -470,9 +470,7 @@ fn catalog_url() -> String { fn fetch_text(url: &str) -> Result<String, String> { let max_fetch_bytes = MAX_FETCH_BYTES.to_string(); - let mut command = Command::new("curl"); - crate::platform::configure_background_command(&mut command); - let mut child = command + let mut child = crate::noninteractive_process::curl_command() .args([ "-sfL", "--retry", |
