devdup: remove useless OCEXEC check, handled by namec()
This commit is contained in:
parent
6fa983a5b9
commit
c4e51c5678
1 changed files with 0 additions and 2 deletions
|
@ -86,8 +86,6 @@ dupopen(Chan *c, int omode)
|
|||
f = fdtochan(fd, openmode(omode), 0, 1);
|
||||
cclose(c);
|
||||
}
|
||||
if(omode & OCEXEC)
|
||||
f->flag |= CCEXEC;
|
||||
return f;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue