summaryrefslogtreecommitdiffstats
path: root/usr.sbin/spray
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-09-05 19:02:03 +0000
committerjilles <jilles@FreeBSD.org>2013-09-05 19:02:03 +0000
commit4b58ef1a3ff9c3b82934962811f08ae233842ce0 (patch)
tree49a07c34d2cfbcc961afa019aae31aa260fa2b23 /usr.sbin/spray
parent04932445481c2cb89ff69a83b961bdef3d64757e (diff)
downloadFreeBSD-src-4b58ef1a3ff9c3b82934962811f08ae233842ce0.zip
FreeBSD-src-4b58ef1a3ff9c3b82934962811f08ae233842ce0.tar.gz
watch: Do not mess up the tty modes on early error.
Record the initial state earlier, so it is always safe to restore it. One way this happens is if watch(8) is started by a user that does not have access to /dev/snp. The result is "staircase effect" during later commands. PR: bin/153052 MFC after: 1 week
Diffstat (limited to 'usr.sbin/spray')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud