aboutsummaryrefslogtreecommitdiff
path: root/xsessionrc.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'xsessionrc.dot.link')
-rwxr-xr-xxsessionrc.dot.link4
1 files changed, 2 insertions, 2 deletions
diff --git a/xsessionrc.dot.link b/xsessionrc.dot.link
index bb08711..42c0dd5 100755
--- a/xsessionrc.dot.link
+++ b/xsessionrc.dot.link
@@ -99,7 +99,7 @@ SETCDPATH=false && . $HOME/.profile
# Start session applications
for program in $PROGRAMS; do
- if which $program &> /dev/null; then
+ if which $program > /dev/null 2>&1; then
$program &
fi
done
@@ -139,7 +139,7 @@ if which parcellite > /dev/null 2>&1; then
fi
# Keyring
-if [ "$OSVERSION" != "6" ] && which gnome-keyring-daemon > /dev/null; then
+if [ "$OSVERSION" != "6" ] && which gnome-keyring-daemon > /dev/null 2>&1; then
# See https://bugzilla.redhat.com/show_bug.cgi?id=783568
# https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/932177
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653011