mirror of
https://github.com/wofferl/proxmox-backup-arm64
synced 2025-12-06 00:13:41 +00:00
use the commit patch for the compile fix
Signed-off-by: Wolfgang <github@linux-dude.de>
This commit is contained in:
32
patches/proxmox-backup-compile-fix.patch
Normal file
32
patches/proxmox-backup-compile-fix.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
commit 6174f9b3c7d1cf366de230798d4bf9e271235dbe
|
||||
Author: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
||||
Date: Fri Nov 7 12:33:15 2025 +0100
|
||||
|
||||
pxar extract: code style improvement for error logging
|
||||
|
||||
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
||||
|
||||
diff --git a/pbs-client/src/pxar/extract.rs b/pbs-client/src/pxar/extract.rs
|
||||
index 61f29349..0257201d 100644
|
||||
--- a/pbs-client/src/pxar/extract.rs
|
||||
+++ b/pbs-client/src/pxar/extract.rs
|
||||
@@ -1333,15 +1333,12 @@ where
|
||||
}
|
||||
.await
|
||||
{
|
||||
- let display_string = entry.path().display().to_string();
|
||||
error!(
|
||||
- "error extracting {}: {}",
|
||||
- if matches!(entry.kind(), EntryKind::GoodbyeTable) {
|
||||
- "<directory>"
|
||||
- } else {
|
||||
- &display_string
|
||||
+ "error extracting {}: {err}",
|
||||
+ match entry.kind() {
|
||||
+ EntryKind::GoodbyeTable => "<directory>",
|
||||
+ _ => &entry.path().display().to_string(),
|
||||
},
|
||||
- err
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user