Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 911336
Collapse All | Expand All

(-)a/term-utils/ttymsg.c (-2 / +1 lines)
Lines 100-106 ttymsg(struct iovec *iov, size_t iovcnt, char *line, int tmout) { Link Here
100
	 * if not running as root; not an error.
100
	 * if not running as root; not an error.
101
	 */
101
	 */
102
	if ((fd = open(device, O_WRONLY|O_NONBLOCK, 0)) < 0) {
102
	if ((fd = open(device, O_WRONLY|O_NONBLOCK, 0)) < 0) {
103
		if (errno == EBUSY || errno == EACCES)
103
		if (errno == EBUSY || errno == EACCES || errno == ENOENT)
104
			return NULL;
104
			return NULL;
105
105
106
		len = snprintf(errbuf, sizeof(errbuf), "%s: %m", device);
106
		len = snprintf(errbuf, sizeof(errbuf), "%s: %m", device);
107
- 

Return to bug 911336