]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Instead of printing '(null)' if there is no tty, print 'no tty'.
authorNick Hibma <n_hibma@FreeBSD.org>
Mon, 2 Oct 2000 17:31:57 +0000 (17:31 +0000)
committerNick Hibma <n_hibma@FreeBSD.org>
Mon, 2 Oct 2000 17:31:57 +0000 (17:31 +0000)
commit80af0816cd85fbae8cad6867e0f9e00df09e30c8
tree412ef0a5abf2627acc09548fd4386cc188e1f71c
parent8c964b9bcab78b1fcecd7ae2d56de920ba636844
Instead of printing '(null)' if there is no tty, print 'no tty'.

In the case where the program is executed by a daemon running in the
background the terminal might not have a tty. The '(null)' is confusing.
usr.bin/wall/wall.c