Use test -r instead of test -e for solaris. Fixes bug #4253.
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
data/xsession/openbox-session.in
→
data/xsession/openbox-session.in
@@ -10,10 +10,10 @@
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