From 5290af9f50c8492398e9f1c61be8f659106bc591 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 9 Dec 2009 10:23:00 -0500 Subject: [PATCH] Use test -r instead of test -e for solaris. Fixes bug #4253. --- data/xsession/openbox-session.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/xsession/openbox-session.in b/data/xsession/openbox-session.in index 259dc580..7c3daa73 100644 --- a/data/xsession/openbox-session.in +++ b/data/xsession/openbox-session.in @@ -10,10 +10,10 @@ fi AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart.sh" GLOBALAUTOSTART="@configdir@/openbox/autostart.sh" -if test -e $AUTOSTART; then +if test -r $AUTOSTART; then . $AUTOSTART else - if test -e $GLOBALAUTOSTART; then + if test -r $GLOBALAUTOSTART; then . $GLOBALAUTOSTART fi fi -- 2.44.0