mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 06:48:47 +02:00
Fix logic error.
This commit is contained in:
@@ -1038,7 +1038,7 @@ guess_terminal_background(int *r, int *g, int *b)
|
||||
close(ttyfd);
|
||||
return;
|
||||
}
|
||||
if (!p.revents & POLLIN) {
|
||||
if (!(p.revents & POLLIN)) {
|
||||
tty_reset(ttyfd);
|
||||
close(ttyfd);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user