Look for screen quietly.
authorIain Patterson <me@iain.cx>
Wed, 4 Mar 2009 11:49:13 +0000 (11:49 +0000)
committerIain Patterson <me@iain.cx>
Wed, 4 Mar 2009 11:49:13 +0000 (11:49 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@181 6be0d1a5-5cfe-0310-89b6-964be062b18b

.profile.d/variables.bashrc

index 616be4e..1bf5215 100644 (file)
@@ -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"