summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Baergen <joshuabaergen@gentoo.org>2006-06-11 17:40:05 +0000
committerJoshua Baergen <joshuabaergen@gentoo.org>2006-06-11 17:40:05 +0000
commitb5885779014848e15981533b09c05bd82f5cc5dc (patch)
tree7d8e3efe096b88a086924ee89c35b82f2ef71f0f /x11-apps/xinit/files/xinitrc
parentFixes for security bug #135623, and config bug #129473 (diff)
downloadhistorical-b5885779014848e15981533b09c05bd82f5cc5dc.tar.gz
historical-b5885779014848e15981533b09c05bd82f5cc5dc.tar.bz2
historical-b5885779014848e15981533b09c05bd82f5cc5dc.zip
Fix executable test in xinitrc. (truc, bug #136316)
Package-Manager: portage-2.1
Diffstat (limited to 'x11-apps/xinit/files/xinitrc')
-rw-r--r--x11-apps/xinit/files/xinitrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-apps/xinit/files/xinitrc b/x11-apps/xinit/files/xinitrc
index bcc80b19c348..6072d116d08d 100644
--- a/x11-apps/xinit/files/xinitrc
+++ b/x11-apps/xinit/files/xinitrc
@@ -28,7 +28,7 @@ fi
# First try ~/.xinitrc
if [ -f "$HOME/.xinitrc" ]; then
XINITRC="$HOME/.xinitrc"
- if [ -e $XINITRC ]; then
+ if [ -x $XINITRC ]; then
# if the x bit is set on .xinitrc
# it means the xinitrc is not a
# shell script but something else