From: Iain Patterson Date: Wed, 4 Mar 2009 11:49:13 +0000 (+0000) Subject: Look for screen quietly. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=f88674d3152d00fa0c67a95d495cf341d1a495a4;p=profile.git Look for screen quietly. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@181 6be0d1a5-5cfe-0310-89b6-964be062b18b --- diff --git a/.profile.d/variables.bashrc b/.profile.d/variables.bashrc index 616be4e..1bf5215 100644 --- a/.profile.d/variables.bashrc +++ b/.profile.d/variables.bashrc @@ -27,7 +27,7 @@ else fi # Override SCREENDIR iff screen is not setuid. -screen=$(which screen 2>/dev/null) +screen=$(which screen &>/dev/null) if [ ! -z "$screen" ]; then if ! ls -l "$screen" | cut -d ' ' -f 1 | grep s >/dev/null; then export SCREENDIR="$HOME/.screen/$HOSTNAME"