1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 13:37:40 +02:00
This commit is contained in:
Jan Schneider 2018-08-26 19:35:56 +02:00
parent 7de60263b6
commit 050bca88c4

View File

@ -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