forked from hummypkg/webif
fix
git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2312 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
parent
46de6718c3
commit
675139500a
@ -415,7 +415,7 @@ proc {system usbdisks} {{full 0}} {
|
|||||||
set link [file readlink $block/device]
|
set link [file readlink $block/device]
|
||||||
foreach disk $disks {
|
foreach disk $disks {
|
||||||
if {[string first "/$disk/" $link] >= 0} {
|
if {[string first "/$disk/" $link] >= 0} {
|
||||||
set map($block) $disk
|
set map([file tail $block]) $disk
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user