summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-10 06:34:08 +0200
committerErich Eckner <git@eckner.net>2016-05-10 06:34:08 +0200
commita6093bcaed7a71aae9a99efdc17e9514a019759e (patch)
treef48176da03cfd05cfe4ab3a741eaf2e19a219f7c
parent7bd739dbe228e14d79b665f10d6b0555d962d570 (diff)
downloadsendmailadvanced-a6093bcaed7a71aae9a99efdc17e9514a019759e.tar.xz
Konfigdatei nur auf "r" statt auf "x" testen
-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