Fixed status detection for firmware flash
This commit is contained in:
parent
fade8edd2d
commit
67049e97b4
1 changed files with 2 additions and 2 deletions
|
@ -77,12 +77,12 @@ function flash(image, kpattern)
|
|||
return false, line
|
||||
else
|
||||
line = fp:read()
|
||||
if line == "Performing system upgrade" then
|
||||
if line == "Performing system upgrade..." then
|
||||
return true
|
||||
end
|
||||
|
||||
line = fp:read()
|
||||
if line == "Performing system upgrade" then
|
||||
if line == "Performing system upgrade..." then
|
||||
return true
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue