summaryrefslogtreecommitdiff
path: root/src/lib/conf.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-08 14:29:01 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-08 14:29:01 -0600
commitbfb869816713ee2d635220b803cd8eb89f4cf444 (patch)
tree404b2422272986cd414881397410c26c5f18efde /src/lib/conf.sh
parent18b74bdc32406fbe4b79c5efc0f1814683ba2b9a (diff)
libreblacklist: fix a few bugs
- set -e didn't work in blacklist-update when followed by || - it prompted before overwriting the local blacklist
Diffstat (limited to 'src/lib/conf.sh')
-rw-r--r--src/lib/conf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/conf.sh b/src/lib/conf.sh
index 67aeb96..840e908 100644
--- a/src/lib/conf.sh
+++ b/src/lib/conf.sh
@@ -93,7 +93,7 @@ load_files() {
# Load the files
for file in $(list_files $slug); do
if [[ -r $file ]]; then
- . "$file"
+ . "$file" || return 1
fi
done