2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2025-04-20 01:27:40 +00:00

fix: ensure fs error is checked

This commit is contained in:
John Rowley 2025-04-11 11:22:47 -07:00 committed by Adphi
parent c15ce008db
commit 4d30dbc2b3

2
fs.go
View File

@ -43,7 +43,7 @@ func (f BootFS) IsSupported() bool {
func (f BootFS) Validate() error {
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
}