From 667bf539b99ac34b629a0103ef7a7278a5a5f35d Mon Sep 17 00:00:00 2001 From: Artem Chernyshev Date: Thu, 23 Sep 2021 14:41:05 +0300 Subject: [PATCH] fix: revert gpt partition not found This reverts commit d7d4cdd7ac56c82caab19246b5decd59f12195eb. Signed-off-by: Artem Chernyshev --- blockdevice/blockdevice_linux.go | 6 ------ 1 file changed, 6 deletions(-) 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