depot/third_party/nixpkgs/pkgs/applications/backup/pika-backup/borg-path.patch

14 lines
372 B
Diff
Raw Normal View History

diff --git a/src/borg/utils.rs b/src/borg/utils.rs
index 4e30913..30d7d6f 100644
--- a/src/borg/utils.rs
+++ b/src/borg/utils.rs
@@ -223,7 +223,7 @@ impl BorgCall {
}
pub fn cmd(&self) -> Command {
- let mut cmd = Command::new("borg");
+ let mut cmd = Command::new("@borg@");
cmd.args(self.args())
.stderr(Stdio::piped())