From a6abf8bf85afb844a1c9fe80fb6579823cbf9259 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 14 Mar 2012 16:10:39 +0000 Subject: Hide stty(1) errors. If rc(8) is executed without using a TTY, this error appears at the beginning: stty: stdin isn't a terminal Because this is to be expected and of course not harmful, it is better to simply hide the error message. MFC after: 1 week --- etc/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index cd22116..99cfda8 100644 --- a/etc/rc +++ b/etc/rc @@ -38,7 +38,7 @@ # first before contemplating any changes here. If you do need to change # this file for some reason, we would like to know about it. -stty status '^T' +stty status '^T' 2> /dev/null # Set shell to ignore SIGINT (2), but not children; # shell catches SIGQUIT (3) and returns to single user. -- cgit v1.1