summaryrefslogtreecommitdiff
path: root/getDrives.go
diff options
context:
space:
mode:
Diffstat (limited to 'getDrives.go')
-rw-r--r--getDrives.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/getDrives.go b/getDrives.go
index a818645..13dacc6 100644
--- a/getDrives.go
+++ b/getDrives.go
@@ -43,9 +43,7 @@ func doDrives2() {
for _, info := range devs {
devPath := "/dev/" + info.Name
if info.IsRaw {
- s := log.Sprintf("%-12s -> %-8s (raw)", devPath, info.Type)
- log.Info(s)
- me.dd.AddText(s)
+ addDrive(devPath, log.Sprintf("-> %-8s (raw)", info.Type))
} else {
if info.Parent != "" {
log.Printf("%-12s -> partition of /dev/%s\n", devPath, info.Parent)