diff options
-rwxr-xr-x | sfeed_opml_export | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_opml_export b/sfeed_opml_export index 6420d5e..9e769f7 100755 --- a/sfeed_opml_export +++ b/sfeed_opml_export @@ -15,7 +15,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 |