diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-05 22:12:51 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-05 22:12:51 -0600 |
commit | 5626918663de1d3f606850e25a5b39f940ceb7a2 (patch) | |
tree | c15d6b037078106cfa87192bbefedb944e5e466b /cmd/btrfs-dump-tree | |
parent | 7b8cdb995ecce81e4603a31e3304f6a2b9401c4c (diff) |
better error handling
Diffstat (limited to 'cmd/btrfs-dump-tree')
-rw-r--r-- | cmd/btrfs-dump-tree/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-dump-tree/main.go b/cmd/btrfs-dump-tree/main.go index 12ed269..5df5468 100644 --- a/cmd/btrfs-dump-tree/main.go +++ b/cmd/btrfs-dump-tree/main.go @@ -41,7 +41,7 @@ func Main(imgfilename string) (err error) { } if err := fs.Init(); err != nil { - return err + fmt.Printf("(error) %v\n", err) } superblock, err := fs.Superblock() |