summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/couchdb.tpl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in
index bdea97fec..686b18b3b 100644
--- a/bin/couchdb.tpl.in
+++ b/bin/couchdb.tpl.in
@@ -120,8 +120,8 @@ EOF
}
_add_config_dir () {
- for file in `find "$1" -mindepth 1 -maxdepth 1 -type f -name '*.ini'`; do
- _add_config_file $file
+ for file in "$1"/*.ini; do
+ [ -r "$file" ] && _add_config_file "$file"
done
}