tags 772225 + patch
kthxbye

Attached is a patch to fix this issue.  I haven't tested it because I'd
need to see the broken behavior first to verify that it's fixed, and
couchdb isn't currently installable on my system.  It does pass dash -n
and posh -n, but so did the unpatched version.
-- 
brian m. carlson / brian with sandals: Houston, Texas, US
https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in
index ff06007..c93ed0a 100644
--- a/bin/couchdb.tpl.in
+++ b/bin/couchdb.tpl.in
@@ -298,7 +298,7 @@ stop_couchdb () {
                         echo "Apache CouchDB failed to shutdown."
                         return $SCRIPT_ERROR
                     else
-                        count=$[count+1]
+                        count=$((count+1))
                         sleep 1
                     fi
                 done

Attachment: signature.asc
Description: PGP signature



Reply via email to