Merge Peter's fix from rev 1.14 back to RELENG_6. This line of code

appears to have been accidentally committed in rev 1.11, and was never
meant to go into any official code.
This commit is contained in:
joerg 2007-03-12 21:41:01 +00:00
parent aa9bb00abb
commit c1e083e9f0

View File

@ -120,7 +120,6 @@ main(int argc, char **argv)
mode = O_RDONLY | O_NONBLOCK;
else
mode = O_RDWR;
mode = O_RDONLY | O_NONBLOCK;
if((fd = open(argv[0], mode)) < 0)
err(EX_UNAVAILABLE, "open(%s)", argv[0]);