On Tue, 03.05.11 16:39, har...@redhat.com (har...@redhat.com) wrote:

> From: Harald Hoyer <har...@redhat.com>
> 
> There might be a race condition that happens if you try to open
> /dev/tty0 while the current TTY is currently being closed.
> This would yield an -EIO error.

Ah, good catch.

I merged a slightly different patch now, wich simply replaces the
invocation of open() with open_terminal() here, which is a function from
util.c which already does the necessary loop.

Thanks,

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to