diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libgamma-facade.c.gpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libgamma-facade.c.gpp b/src/lib/libgamma-facade.c.gpp index ccf60ee..d7e3f4b 100644 --- a/src/lib/libgamma-facade.c.gpp +++ b/src/lib/libgamma-facade.c.gpp @@ -86,6 +86,8 @@ static int libgamma_is_vt_proper(int fd) return 0; /* Validate TTY path. */ + if (!strcmp(buf, "/dev/console")) + return 1; if (strstr(buf, "/dev/tty") != buf) return 0; |