diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1403,6 +1403,8 @@ redirect_standard_io_to_device (const char *device) dup2 (fd, STDOUT_FILENO); dup2 (fd, STDERR_FILENO); + close (fd); + return true; } |