luci-base: fix duid_to_mac reference in status.lua
[oweals/luci.git] / modules / luci-base / luasrc / template.lua
index 588028c2ee3c9f1af4981b90046212b8381b2d36..ed46f50753ba34f03cea7ab9263d90113d0aa2d5 100644 (file)
@@ -95,6 +95,6 @@ function Template.render(self, scope)
        local stat, err = util.copcall(self.template)
        if not stat then
                error("Failed to execute template '" .. self.name .. "'.\n" ..
-                     "A runtime error occured: " .. tostring(err or "(nil)"))
+                     "A runtime error occurred: " .. tostring(err or "(nil)"))
        end
 end