summaryrefslogtreecommitdiffhomepage
path: root/libs/core
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-18 15:19:11 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-18 15:19:11 +0000
commit2fede7361f53c3e1e81974676565ccf3937c23a9 (patch)
tree605abc65408f88d4be3be3dc7aea6b376c23117c /libs/core
parent9a6d72238d015580723edf92912be1e34a1fb687 (diff)
libs/core: disable runtime byte code stripping, it causes lvm errors (OpenWrt #6235, LuCI #110)
Diffstat (limited to 'libs/core')
-rw-r--r--libs/core/luasrc/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua
index 84c63f240..f45a1f966 100644
--- a/libs/core/luasrc/util.lua
+++ b/libs/core/luasrc/util.lua
@@ -525,7 +525,7 @@ function get_bytecode(val)
code = string.dump( loadstring( "return " .. serialize_data(val) ) )
end
- return code and strip_bytecode(code)
+ return code -- and strip_bytecode(code)
end
--- Strips unnescessary lua bytecode from given string. Information like line