mirror of
https://github.com/termux/termux-packages.git
synced 2025-08-14 17:13:04 +00:00
- Fixes https://github.com/termux/termux-packages/issues/25320 - In Lua, unfortunately, **`return` statement before the end of a block is not allowed** and produces a syntax error at runtime. Placing the `return "linux"` statement at the beginnning of the function for easier rebasing of the patch is possible, but **only by placing it inside of an `if true` condition**. - https://www.lua.org/pil/4.4.html - "For syntactic reasons, a `break` or `return` can appear only as the last statement of a block"