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:
Michael Vetter 2019-11-12 08:38:08 +01:00
parent 9d935d9be1
commit 115a4e89e2

View File

@ -1331,7 +1331,7 @@ static void process_flags (int argc, char **argv)
&& ('*' != optarg[0]) )
|| (stat(optarg, &st) != 0)
|| (S_ISDIR(st.st_mode))
|| (access(optarg, X_OK != 0))) {
|| (access(optarg, X_OK) != 0)) {
fprintf (stderr,
_("%s: invalid shell '%s'\n"),
Prog, optarg);