diff --git a/src/PikaObj.c b/src/PikaObj.c index e0273421e..707ee0f6d 100644 --- a/src/PikaObj.c +++ b/src/PikaObj.c @@ -715,7 +715,7 @@ static int set_disp_mode(int fd, int option) { else term.c_lflag &= ~ECHOFLAGS; err = tcsetattr(fd, TCSAFLUSH, &term); - if (err == -1 && err == EINTR) { + if (err == -1) { perror("Cannot set the attribution of the terminal"); return 1; }