execvp(3) already checks if its file argument contains a '/'; simplify by not checking again for the same thing. The real motivation is to avoid confusing behavior in an edge case: when execve(2) fails with ENOEXEC, execvp will run the script using the system shell but execv will error out. Closes: #622094 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Guillem Jover <guillem@debian.org>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||