Skip to content

Commit

Permalink
corrected usage of test in couchdb script
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@757772 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Noah Slater committed Mar 24, 2009
1 parent 6f1887a commit 2e206a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/couchdb.tpl.in
Expand Up @@ -140,15 +140,15 @@ check_environment () {
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
Expand Down

0 comments on commit 2e206a9

Please sign in to comment.