Commit cb25ac92 by Brendan Kehoe

With previous change, don't fail on `-l'.

From-SVN: r3253
parent c716c35d
...@@ -2283,7 +2283,8 @@ process_command (argc, argv) ...@@ -2283,7 +2283,8 @@ process_command (argc, argv)
} }
else else
{ {
if (access (argv[i], R_OK) < 0) if ((argv[i][0] != '-' || argv[i][0] != 'l')
&& access (argv[i], R_OK) < 0)
{ {
perror_with_name (argv[i]); perror_with_name (argv[i]);
error_count++; error_count++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment