Skip to content

Commit

Permalink
luajit.c: Fix argument parsing bug that made "-a" fall into "-p"
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Apr 27, 2018
1 parent 92955dc commit 9a798d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/luajit.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ static int runargs(lua_State *L, char **argv, int argn)
fprintf(stderr, "unable to open auditlog\n");
fflush(stderr);
}
break;
}
case 'p': {
const char *filename = argv[i] + 2;
Expand Down

0 comments on commit 9a798d7

Please sign in to comment.