diff --git a/src/ChangeLog b/src/ChangeLog index c8dab93c9..4cf3a6a48 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-04-13 Leonard den Ottolander + + * cons.handler.c (handle_console_linux): Remove redundant close() calls + before _exit(). + 2006-03-29 Pavel Tsekov * file.c (copy_file_file): When a hardlink is created successfully @@ -231,7 +236,7 @@ The glib implementation doesn't strip prefix from translations, so it's not suitable for us. Finally, it makes man2hlp depend on libintl. - Reported by Leonard den Ottolander + Reported by Leonard den Ottolander 2005-11-02 Egmont Koblinger diff --git a/src/cons.handler.c b/src/cons.handler.c index 1975d05be..951c638b3 100644 --- a/src/cons.handler.c +++ b/src/cons.handler.c @@ -148,8 +148,6 @@ handle_console_linux (unsigned char action) /* Console is not a tty or execl() failed */ console_flag = 0; write (1, &console_flag, 1); - close (1); - close (0); _exit (3); } /* if (cons_saver_pid ...) */ break;