Skip to content
Snippets Groups Projects
Unverified Commit 93d16a46 authored by Daniel Nelson's avatar Daniel Nelson Committed by GitHub
Browse files

Use auto type detection for scanned devices in smart input (#3561)

parent 88746b01
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,7 @@ func (m *Smart) scan() ([]string, error) {
devices := []string{}
for _, line := range strings.Split(string(out), "\n") {
dev := strings.Split(line, "#")
dev := strings.Split(line, " ")
if len(dev) > 1 && !excludedDev(m.Excludes, strings.TrimSpace(dev[0])) {
devices = append(devices, strings.TrimSpace(dev[0]))
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment