From: Steven Barth Date: Thu, 30 Oct 2008 13:13:45 +0000 (+0000) Subject: Fixed a typo in luci.sys.httpget X-Git-Tag: 0.8.2~64 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8ab62a9e0ae6c9238b1957f10765ef457db0ce3b;p=project%2Fluci.git Fixed a typo in luci.sys.httpget --- diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua index 2edb8f05ae..5d119dbe9d 100644 --- a/libs/sys/luasrc/sys.lua +++ b/libs/sys/luasrc/sys.lua @@ -142,7 +142,7 @@ end -- @return String containing the contents of given the URL function httpget(url, stream, target) if not target then - local source = stream and io.open or luci.util.exec + local source = stream and io.popen or luci.util.exec return source("wget -qO- '"..url:gsub("'", "").."'") else return os.execute("wget -qO '%s' '%s'" %