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:
parent
aa9bb00abb
commit
c1e083e9f0
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user