mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 21:48:09 +02:00
[terminal] Add some debug spew if terminal couldn't be opened
This commit is contained in:
parent
648745cddb
commit
74ed81c79c
1 changed files with 4 additions and 1 deletions
|
|
@ -462,7 +462,10 @@ ply_terminal_open_device (ply_terminal_t *terminal)
|
|||
terminal->fd = open (terminal->name, O_RDWR | O_NOCTTY);
|
||||
|
||||
if (terminal->fd < 0)
|
||||
return false;
|
||||
{
|
||||
ply_trace ("Unable to open terminal device '%s': %m");
|
||||
return false;
|
||||
}
|
||||
|
||||
terminal->fd_watch = ply_event_loop_watch_fd (terminal->loop, terminal->fd,
|
||||
PLY_EVENT_LOOP_FD_STATUS_NONE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue