Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Commit

Permalink
Fix ignoring of loop disk devices
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbassi committed Dec 10, 2018
1 parent 8548428 commit 2043837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (self *Disk) update() {
// add partition if it's new
for _, Part := range Partitions {
// don't show loop devices
if strings.HasPrefix(Part.Device, "loop") {
if strings.HasPrefix(Part.Device, "/dev/loop") {
continue
}
// check if partition doesn't already exist in our list
Expand Down

0 comments on commit 2043837

Please sign in to comment.