aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-02-24 12:21:34 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-02-24 12:21:34 +1300
commit4ab095cb27e6266b7526e6958b2e8b8de8af588d (patch)
treebba5a1270583affefb663d08d90120ef36acf250 /sh
parentMerge branch 'hotfix/v0.30.1' into develop (diff)
downloaddotfiles-4ab095cb27e6266b7526e6958b2e8b8de8af588d.tar.gz
dotfiles-4ab095cb27e6266b7526e6958b2e8b8de8af588d.zip
Silence errors from missing mesg(1)
Funtoo Linux does not include this tool by default. It's not important enough to raise the error message on every login.
Diffstat (limited to 'sh')
-rw-r--r--sh/shrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc b/sh/shrc
index 33c55e8f..63026e69 100644
--- a/sh/shrc
+++ b/sh/shrc
@@ -1,5 +1,5 @@
# Don't let anyone write(1) to my terminal
-command -p mesg n
+command -p mesg n 2>/dev/null
# Turn off flow control and control character echo
command -p stty -ixon -ctlecho 2>/dev/null