]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
periodic: replace "tty" with "test -t 0"
authorasomers <asomers@FreeBSD.org>
Mon, 19 Aug 2019 01:14:11 +0000 (01:14 +0000)
committerasomers <asomers@FreeBSD.org>
Mon, 19 Aug 2019 01:14:11 +0000 (01:14 +0000)
commit4f6f0e0e2da6a4ab632eb0d21bb7a3edcaea7bd0
treeffea0f2d41f6f1debd7d93ee541c38aceb1f7ffc
parentf02c1ada5d3282217be21e05992559eb128e81d0
periodic: replace "tty" with "test -t 0"

Apparently using tty for this purpose has been deprecated since 4.4 Lite.

Reviewed by: cy
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D21318
usr.sbin/periodic/periodic.sh