Skip to content

Commit

Permalink
[disk][linux] Fix shirou#555 for kernels >=2.6.26
Browse files Browse the repository at this point in the history
  • Loading branch information
Lomanic committed Sep 1, 2019
1 parent 2f74cb5 commit e4ec7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disk/disk_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ func PartitionsWithContext(ctx context.Context, all bool) ([]PartitionStat, erro

d = PartitionStat{
Device: device,
Mountpoint: mountPoint,
Mountpoint: unescapeFstab(mountPoint),
Fstype: fstype,
Opts: mountOpts,
}
Expand Down

0 comments on commit e4ec7b2

Please sign in to comment.