misc/149028: Bugfix in files/couchdb.in
Till Klampaeckel
till at php.net
Wed Jul 28 12:00:11 UTC 2010
>Number: 149028
>Category: misc
>Synopsis: Bugfix in files/couchdb.in
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 28 12:00:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Till Klampaeckel
>Release: n/a
>Organization:
n/a
>Environment:
>Description:
There's a small bug in the script. This was reported to me by Nerijus (nerijus-/at/-expo-/dot/-lt) - all credit to him.
I created a patch - see attachment.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- files/couchdb.in.orig 2010-07-28 13:46:03.000000000 +0200
+++ files/couchdb.in 2010-07-28 13:47:14.000000000 +0200
@@ -35,7 +35,7 @@ pidfile="/var/run/${name}/${name}.pid"
etcdir="%%PREFIX%%/etc/${name}"
respawn=""
-if [ "$couchdb_respawn" > 0 ]
+if [ "$couchdb_respawn" -gt 0 ]
then
respawn="-r ${couchdb_respawn} "
fi
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list