summaryrefslogtreecommitdiff
path: root/sfeed_update
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_update')
-rwxr-xr-xsfeed_update2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_update b/sfeed_update
index 014985c..79f23ee 100755
--- a/sfeed_update
+++ b/sfeed_update
@@ -24,7 +24,7 @@ loadconfig() {
fi
# config is loaded here to be able to override $sfeedpath or functions.
- if [ -r "${configpath}" ]; then
+ if [ -r "${configpath}" ] && [ ! -d "${configpath}" ]; then
. "${configpath}"
else
printf "Configuration file \"%s\" cannot be read.\n" "${config}" >&2