libs/core: disable runtime byte code stripping, it causes lvm errors (OpenWrt #6235...
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 18 Mar 2010 15:19:11 +0000 (15:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 18 Mar 2010 15:19:11 +0000 (15:19 +0000)
libs/core/luasrc/util.lua

index 84c63f240409091588a09821e970f2a4df70c7ea..f45a1f966e52ed62a23d301468753d8721244a19 100644 (file)
@@ -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