depot/third_party/nixpkgs/pkgs/applications/backup/pika-backup/borg-path.patch
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

13 lines
452 B
Diff

diff --git a/src/borg/process.rs b/src/borg/process.rs
index 9af8da7..85bcbf8 100644
--- a/src/borg/process.rs
+++ b/src/borg/process.rs
@@ -278,7 +278,7 @@ impl BorgCall {
}
pub(super) fn command(&self) -> Result<(async_process::Command, UnixStream)> {
- let mut cmd = async_process::Command::new("borg");
+ let mut cmd = async_process::Command::new("@borg@");
let unix_stream = self.stream_password(&mut cmd)?;