[pbs-devel] [PATCH proxmox-backup v2 1/3] pbs3to4: fix logic error and typo in log message
Stoiko Ivanov
s.ivanov at proxmox.com
Thu Aug 21 16:17:17 CEST 2025
/usr/share/doc/systemd-boot/changelog.Debian.gz existing indicates
that system-boot is installed (the `!` was in error).
additionally fix a typo in the log message.
Fixes: 94cc9903 ("bin: pbs3to4: adapt boot-loader checks to trixie")
Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
src/bin/pbs3to4.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bin/pbs3to4.rs b/src/bin/pbs3to4.rs
index 2e6ea933..5df960a3 100644
--- a/src/bin/pbs3to4.rs
+++ b/src/bin/pbs3to4.rs
@@ -207,7 +207,7 @@ impl Checker {
.log_info("Checking bootloader configuration...")?;
if !Path::new("/sys/firmware/efi").is_dir() {
- if !Path::new("/usr/share/doc/systemd-boot/changelog.Debian.gz").is_file() {
+ if Path::new("/usr/share/doc/systemd-boot/changelog.Debian.gz").is_file() {
self.output.log_info(
"systemd-boot package installed on legacy-boot system is not \
necessary, consider removing it",
@@ -215,7 +215,7 @@ impl Checker {
return Ok(());
}
self.output
- .log_skip("System booted in legacy-mode - no need for additional pacckages.")?;
+ .log_skip("System booted in legacy-mode - no need for additional packages.")?;
return Ok(());
}
--
2.39.5
More information about the pbs-devel
mailing list