From 2185ad69117cde63026fde2cfec900262f126c89 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 9 Jan 2022 10:26:50 -0300 Subject: Fix: redirections --- xsessionrc.dot.link | 4 ++-- 1 file 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 -- cgit v1.2.3