Fix: wrong label

This commit is contained in:
Nikita Ivanov 2022-06-01 03:13:21 +05:00
parent 402e4aa932
commit f89b376e4b
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133

View File

@ -100,7 +100,7 @@ static int listen(char *fifo)
if (pollfd.revents & POLLHUP) {
close(pollfd.fd);
ERRCHK_GOTO_OK(open_fifo(&pollfd.fd, fifo), ret, exit);
ERRCHK_GOTO_OK(open_fifo(&pollfd.fd, fifo), ret, close);
}
}