* device.shilka (device::parse): Allow units on other than tty.

This commit is contained in:
Christopher Faylor
2003-09-27 15:19:29 +00:00
parent 658b4ff8fd
commit 83abcab4c0
3 changed files with 6 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ device::parse (const char *s)
if (++len < prior_len)
{
dev = lookup (s, len);
if (!dev || (!dev->upper && !dev->devn == FH_TTY))
if (!dev || !dev->upper)
dev = NULL;
else
{