summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-09 10:23:00 -0500
committerDana Jansens <danakj@orodu.net>2009-12-09 10:23:37 -0500
commit5290af9f50c8492398e9f1c61be8f659106bc591 (patch)
tree0fabd390f1e4e7d7d80ddd97ac50cb3cd905740d
parent0c0ddc36289f39ee32347e775147e7300ce6cf89 (diff)
Use test -r instead of test -e for solaris. Fixes bug #4253.
-rw-r--r--data/xsession/openbox-session.in4
1 files 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