summaryrefslogtreecommitdiffstats
path: root/main/lua-subprocess/openexception.patch
blob: 1a36d05aadf03d7a3e5b9827119c6e91b77bad5d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./src/lua-subprocess-0.0.20121211/subprocess.c
+++ ./subprocess.c
@@ -1130,6 +1130,8 @@
     if (r != 1){
         return r;
     }
+    lua_replace(L, 1);
+    lua_settop(L, 1);
     return proc_wait(L);
 }