This commit is contained in:
Martin Lund 2022-02-13 02:13:43 +01:00
parent 0985f70c13
commit 5d031a51f9

View file

@ -546,8 +546,8 @@ void tty_wait_for_device(void)
}
/* Test for accessible device file */
int rc = access(option.tty_device, R_OK);
if (rc == 0) {
status = access(option.tty_device, R_OK);
if (status == 0) {
last_errno = 0;
return;
}