diff options
-rw-r--r-- | loader/init.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/loader/init.c b/loader/init.c index 35a842732..b743ba1e0 100644 --- a/loader/init.c +++ b/loader/init.c @@ -630,12 +630,6 @@ int main(int argc, char **argv) { if (testing) exit(0); - fd = open("/proc/self/0", O_RDWR, 0); - if (fd < 0) { - printf("failed to open /proc/self/0\n"); - fatal_error(1); - } - dup2(fd, 0); dup2(fd, 1); dup2(fd, 2); |