Apply Pi-hole Lua patches

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-04-30 21:11:51 +02:00
parent 08a8a11a51
commit 866ca4b657
5 changed files with 28 additions and 5 deletions
+2 -2
View File
@@ -48,9 +48,9 @@ index 454ce12f..a363925c 100644
+ ftl_lua_init(L);
+ /***************************************************/
+
if (!runargs(L, argv, script)) /* execute arguments -e and -l */
if (!runargs(L, argv, optlim)) /* execute arguments -e and -l */
return 0; /* something failed */
if (script < argc && /* execute main script (if there is one) */
if (script > 0) { /* execute main script (if there is one) */
@@ -616,7 +622,9 @@ static int pmain (lua_State *L) {
}