On Tue, 03.05.11 16:39, [email protected] ([email protected]) wrote:

> From: Harald Hoyer <[email protected]>
> 
> 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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to