Skip to content

Commit f47c880

Browse files
arjenlentzmillert
authored andcommitted
Fixed typo in exec_ptrace.c
1 parent 3e12cac commit f47c880

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/exec_ptrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ script_matches(const char *script, const char *execpath, int argc,
13861386
/* Match interpreter. */
13871387
if (!pathname_matches(execpath, interp, true)) {
13881388
/* It is possible for the interpreter to be a script too. */
1389-
if (argv > 0 && strcmp(interp, argv[1]) == 0) {
1389+
if (argc > 0 && strcmp(interp, argv[1]) == 0) {
13901390
/* Interpreter args must match for *this* interpreter. */
13911391
if (interp_args == NULL ||
13921392
(argc > 1 && strcmp(interp_args, argv[2]) == 0)) {

0 commit comments

Comments
 (0)