.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=613
This commit is contained in:
parent
63498a9e97
commit
d07503cb51
@ -67,7 +67,7 @@
|
||||
assert(j);
|
||||
|
||||
+ if (_unlikely_(is_ansi_console < 0)) {
|
||||
+ int fd = open_terminal("/dev/console", O_WRONLY|O_NOCTTY|O_CLOEXEC);
|
||||
+ int fd = open_terminal("/dev/console", O_RDONLY|O_NOCTTY|O_CLOEXEC);
|
||||
+ if (fd < 0)
|
||||
+ is_ansi_console = 0;
|
||||
+ else {
|
||||
|
Loading…
Reference in New Issue
Block a user