Репозитории ALT
Группа :: Система/Основа
Пакет: mingetty
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mingetty-1.01-suse-owl-alt-vhangup.patch
Скачать
Скачать
--- mingetty-1.01/mingetty.c.orig 2003-02-24 19:40:33 +0300
+++ mingetty-1.01/mingetty.c 2003-02-24 19:41:42 +0300
@@ -185,8 +185,8 @@
if (!isatty (fd))
error ("%s: not a tty", buf);
- if (! nohangup)
- vhangup ();
+ if (!nohangup && vhangup ())
+ error ("vhangup: %s", strerror(errno));
/* Get rid of the present stdout/stderr. */
close (2);
close (1);