summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-05-22 22:28:09 +0000
committerJan Lehnardt <jan@apache.org>2010-05-22 22:28:09 +0000
commit6a6a8194eeacf556d578f230726eeb3475bc42f6 (patch)
tree1a2bd3910cbc845643ffc4b9a2e5a89a6e1d21b8 /bin
parent1ea5ee0b22f275aa65f9b0f657f01942f11b3524 (diff)
fix utils/run
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@947343 13f79535-47bb-0310-9956-ffa450edef68
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
}