mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
fix typo
This commit is contained in:
parent
f93aa872e2
commit
205fbbe829
@ -138,8 +138,8 @@ proc ::rmupdate::get_rpi_version {} {
|
||||
set revision_map(1a01041) "rpi3"
|
||||
set revision_map(a020d3) "rpi3"
|
||||
|
||||
set fp [open /proc/cpuinfo r]
|
||||
set data [read $fp]
|
||||
set fd [open /proc/cpuinfo r]
|
||||
set data [read $fd]
|
||||
close $fd
|
||||
foreach d [split $data "\n"] {
|
||||
regexp {^Hardware\s*:\s*(\S+)} $d match hardware
|
||||
|
Loading…
x
Reference in New Issue
Block a user