Fix typo in access of shell command
Fix typo in 88fa0651bf
.
For some reason my git push -f seems not to have worked.
This commit is contained in:
parent
9d935d9be1
commit
115a4e89e2
@ -1331,7 +1331,7 @@ static void process_flags (int argc, char **argv)
|
|||||||
&& ('*' != optarg[0]) )
|
&& ('*' != optarg[0]) )
|
||||||
|| (stat(optarg, &st) != 0)
|
|| (stat(optarg, &st) != 0)
|
||||||
|| (S_ISDIR(st.st_mode))
|
|| (S_ISDIR(st.st_mode))
|
||||||
|| (access(optarg, X_OK != 0))) {
|
|| (access(optarg, X_OK) != 0)) {
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: invalid shell '%s'\n"),
|
_("%s: invalid shell '%s'\n"),
|
||||||
Prog, optarg);
|
Prog, optarg);
|
||||||
|
Loading…
Reference in New Issue
Block a user