diff options
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c index 057da71..49a2972 100644 --- a/src/input.c +++ b/src/input.c @@ -439,8 +439,6 @@ setinputfile(const char *fname, int flags) if (fd < 10) { fd2 = copyfd(fd, 10); close(fd); - if (fd2 < 0) - sh_error("Out of file descriptors"); fd = fd2; } setinputfd(fd, flags & INPUT_PUSH_FILE); |