summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/port/devdup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/src/9/port/devdup.c b/sys/src/9/port/devdup.c
index f526d963b..cdc380324 100644
--- a/sys/src/9/port/devdup.c
+++ b/sys/src/9/port/devdup.c
@@ -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;
}