fix: ensure fs error is checked

This commit is contained in:
John Rowley
2025-04-12 11:27:46 +02:00
committed by Adphi
parent c15ce008db
commit 4d30dbc2b3
+1 -1
View File
@@ -43,7 +43,7 @@ func (f BootFS) IsSupported() bool {
func (f BootFS) Validate() error { func (f BootFS) Validate() error {
if !f.IsSupported() { if !f.IsSupported() {
fmt.Errorf("invalid boot filesystem: %s valid filesystems are: fat32, ext4", f) return fmt.Errorf("invalid boot filesystem: %s valid filesystems are: fat32, ext4", f)
} }
return nil return nil
} }