summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsendmailadvanced.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sendmailadvanced.in b/sendmailadvanced.in
index e5a7f3e..2bb69ce 100755
--- a/sendmailadvanced.in
+++ b/sendmailadvanced.in
@@ -47,13 +47,13 @@ dForced=false
eForced=false
sForced=false
-if [ -x #ETCDIR#/sendmailadvanced.conf ]
+if [ -r #ETCDIR#/sendmailadvanced.conf ]
then
. #ETCDIR#/sendmailadvanced.conf
else
for konfig in $(readlink -f "$0").conf $(find . -name sendmailadvanced.conf 2> /dev/null)
do
- [ -x "${konfig}" ] || continue
+ [ -r "${konfig}" ] || continue
. "${konfig}"
break
done