Skip to content
Snippets Groups Projects
Commit 07c8fe6f authored by Luigi Scarso's avatar Luigi Scarso
Browse files

sync luatex 1.0.4 with texlive revision revision 44525.

parent ec78ef5d
No related branches found
Tags 1.0.4
No related merge requests found
......@@ -365,7 +365,7 @@ static int checkpermission(lua_State *L)
lua_pushliteral(L,"all command execution is disabled");
} else if (restrictedshell == 0) {
lua_pushboolean(L,1);
lua_pushliteral(L,"all commands are permitted");
lua_pushstring(L,filename);
} else {
char *safecmd = NULL;
char *cmdname = NULL;
......@@ -374,10 +374,6 @@ static int checkpermission(lua_State *L)
lua_pushboolean(L,0);
lua_pushliteral(L, "specific command execution disabled");
break;
case 1:
lua_pushboolean(L,1);
lua_pushstring(L,filename);
break;
case 2:
lua_pushboolean(L,1);
lua_pushstring(L,safecmd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment