summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2009-03-24 13:04:46 +0000
committerNoah Slater <nslater@apache.org>2009-03-24 13:04:46 +0000
commit2e206a9524c67a83941ad6ba95b4f909550af43a (patch)
treeed2a734b2c6c379fd30a5c1e21cf519a7c778604 /bin
parent6f1887acf616c5f0afab8178b02bf26b10078b27 (diff)
corrected usage of test in couchdb script
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@757772 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bin')
-rw-r--r--bin/couchdb.tpl.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/couchdb.tpl.in b/bin/couchdb.tpl.in
index efe3a7fc..f580f076 100644
--- a/bin/couchdb.tpl.in
+++ b/bin/couchdb.tpl.in
@@ -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