diff --git a/src/job.c b/src/job.c index 92d48bc5..67194d1f 100644 --- a/src/job.c +++ b/src/job.c @@ -2371,7 +2371,7 @@ child_execute_job (struct childbase *child, int good_stdin, char **argv) break; } - cmd = (char *)find_in_given_path (argv[0], p); + cmd = (char *)find_in_given_path (argv[0], p, 0); } if (!cmd)