aboutsummaryrefslogtreecommitdiff
path: root/xsessionrc.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-01-09 10:26:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-01-09 10:26:50 -0300
commit2185ad69117cde63026fde2cfec900262f126c89 (patch)
tree9ef9f12d47bced48d7f7ae27935fb628ab179ab7 /xsessionrc.dot.link
parentf76ec64c4a5ae45d085dde32c93c7526f57bb739 (diff)
downloadxsession-2185ad69117cde63026fde2cfec900262f126c89.tar.gz
xsession-2185ad69117cde63026fde2cfec900262f126c89.tar.bz2
Fix: redirections
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