From 050bca88c4bfb8eb09d4de0e17dc7eaa079c2eec Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sun, 26 Aug 2018 19:35:56 +0200 Subject: [PATCH] cleanup --- addon/lib/rmupdate.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/lib/rmupdate.tcl b/addon/lib/rmupdate.tcl index ad3666e..90de680 100644 --- a/addon/lib/rmupdate.tcl +++ b/addon/lib/rmupdate.tcl @@ -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