summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/devices.shilka
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/devices.shilka')
-rw-r--r--winsup/cygwin/devices.shilka2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.shilka b/winsup/cygwin/devices.shilka
index 4f135ade1..544c9238e 100644
--- a/winsup/cygwin/devices.shilka
+++ b/winsup/cygwin/devices.shilka
@@ -352,7 +352,7 @@ device::parse (const char *s)
if (++len < prior_len)
{
dev = KR_find_keyword (s, len);
- if (!dev || (!dev->upper && !dev->devn == FH_TTY))
+ if (!dev || !dev->upper)
dev = NULL;
else
{