]> Dogcows Code - chaz/openbox/commitdiff
Use test -r instead of test -e for solaris. Fixes bug #4253.
authorDana Jansens <danakj@orodu.net>
Wed, 9 Dec 2009 15:23:00 +0000 (10:23 -0500)
committerDana Jansens <danakj@orodu.net>
Wed, 9 Dec 2009 15:23:37 +0000 (10:23 -0500)
data/xsession/openbox-session.in

index 259dc580cd594331b4dce946995fa3aaba3c0bcd..7c3daa73ed78f0a55f06b2d23402d357d51048d9 100644 (file)
@@ -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
This page took 0.022926 seconds and 4 git commands to generate.