diff --git a/blockdevice/blockdevice_linux.go b/blockdevice/blockdevice_linux.go index c9b920a..d8b771a 100644 --- a/blockdevice/blockdevice_linux.go +++ b/blockdevice/blockdevice_linux.go @@ -103,13 +103,7 @@ func Open(devname string, setters ...Option) (bd *BlockDevice, err error) { return nil, err } bd.g = g - - return bd, nil } - - err = ErrMissingPartitionTable - - return nil, err } return bd, nil