git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@945032 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-05-17 08:55:29 +00:00
parent 8b6a0c7237
commit 240619f0bb
3 changed files with 3 additions and 3 deletions

View File

@ -308,7 +308,7 @@ checkUser() {
RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1` RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
if [ "X$RUN_AS_GROUP" = "X" ] if [ "X$RUN_AS_GROUP" = "X" ]
then then
RUN_AS_GROUP=RUN_AS_USER RUN_AS_GROUP=$RUN_AS_USER
fi fi
touch $LOCKFILE touch $LOCKFILE
chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE

View File

@ -308,7 +308,7 @@ checkUser() {
RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1` RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
if [ "X$RUN_AS_GROUP" = "X" ] if [ "X$RUN_AS_GROUP" = "X" ]
then then
RUN_AS_GROUP=RUN_AS_USER RUN_AS_GROUP=$RUN_AS_USER
fi fi
touch $LOCKFILE touch $LOCKFILE
chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE

View File

@ -307,7 +307,7 @@ checkUser() {
RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1` RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
if [ "X$RUN_AS_GROUP" = "X" ] if [ "X$RUN_AS_GROUP" = "X" ]
then then
RUN_AS_GROUP=RUN_AS_USER RUN_AS_GROUP=$RUN_AS_USER
fi fi
touch $LOCKFILE touch $LOCKFILE
chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE