From: Steven Barth Date: Fri, 12 Sep 2008 12:13:26 +0000 (+0000) Subject: Fixed status detection for firmware flash X-Git-Tag: 0.9.0~1340 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=67049e97b4ff02874d62b41f72dbbfdfd97e2e88;p=oweals%2Fluci.git Fixed status detection for firmware flash --- diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua index 9b68a25e6..3fa34fd5b 100644 --- a/libs/sys/luasrc/sys.lua +++ b/libs/sys/luasrc/sys.lua @@ -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