couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r757772 - /couchdb/trunk/bin/couchdb.tpl.in
Date Tue, 24 Mar 2009 13:04:47 GMT
Author: nslater
Date: Tue Mar 24 13:04:46 2009
New Revision: 757772

URL: http://svn.apache.org/viewvc?rev=757772&view=rev
Log:
corrected usage of test in couchdb script

Modified:
    couchdb/trunk/bin/couchdb.tpl.in

Modified: couchdb/trunk/bin/couchdb.tpl.in
URL: http://svn.apache.org/viewvc/couchdb/trunk/bin/couchdb.tpl.in?rev=757772&r1=757771&r2=757772&view=diff
==============================================================================
--- couchdb/trunk/bin/couchdb.tpl.in (original)
+++ couchdb/trunk/bin/couchdb.tpl.in Tue Mar 24 13:04:46 2009
@@ -140,15 +140,15 @@
         exit $SCRIPT_ERROR
     fi
     message_prefix="Apache CouchDB needs a regular"
-    if `echo 2> /dev/null >> $PID_FILE; echo $?` -gt 0; then
+    if test `echo 2> /dev/null >> $PID_FILE; echo $?` -gt 0; then
         echo "$message_prefix PID file: $PID_FILE" >&2
         exit $SCRIPT_ERROR
     fi
-    if `echo 2> /dev/null >> $STDOUT_FILE; echo $?` -gt 0; then
+    if test `echo 2> /dev/null >> $STDOUT_FILE; echo $?` -gt 0; then
         echo "$message_prefix STDOUT file: $STDOUT_FILE" >&2
         exit $SCRIPT_ERROR
     fi
-    if `echo 2> /dev/null >> $STDERR_FILE; echo $?` -gt 0; then
+    if test `echo 2> /dev/null >> $STDERR_FILE; echo $?` -gt 0; then
         echo "$message_prefix STDERR file: $STDERR_FILE" >&2
         exit $SCRIPT_ERROR
     fi



Mime
View raw message