mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
cleanup
This commit is contained in:
parent
7de60263b6
commit
050bca88c4
@ -280,8 +280,8 @@ proc ::rmupdate::get_partitions {{device ""}} {
|
||||
|
||||
foreach d [split $data "\n"] {
|
||||
if {[regexp {Disk\s+(\S+):.*\s(\d+)\s+bytes} $d match dev size]} {
|
||||
if {[regexp {/dev/ram} $dev]} {
|
||||
continue
|
||||
if {[regexp {/dev/ram} $dev]} {
|
||||
continue
|
||||
}
|
||||
set partitions(${dev}::0::partition) 0
|
||||
set partitions(${dev}::0::disk_device) $dev
|
||||
|
Loading…
Reference in New Issue
Block a user