diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-12-09 10:23:00 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-12-09 10:23:37 -0500 |
| commit | 5290af9f50c8492398e9f1c61be8f659106bc591 (patch) | |
| tree | 0fabd390f1e4e7d7d80ddd97ac50cb3cd905740d /data/xsession/openbox-session.in | |
| parent | 0c0ddc36289f39ee32347e775147e7300ce6cf89 (diff) | |
Use test -r instead of test -e for solaris. Fixes bug #4253.
Diffstat (limited to 'data/xsession/openbox-session.in')
| -rw-r--r-- | data/xsession/openbox-session.in | 4 |
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 |
