summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/couchdb.tpl.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in
index 686b18b3..ced524c6 100644
--- a/bin/couchdb.tpl.in
+++ b/bin/couchdb.tpl.in
@@ -121,7 +121,9 @@ EOF
_add_config_dir () {
for file in "$1"/*.ini; do
- [ -r "$file" ] && _add_config_file "$file"
+ if [ -r "$file" ]; then
+ _add_config_file "$file"
+ fi
done
}