mirror of https://github.com/apache/activemq.git
apply patch from https://issues.apache.org/activemq/browse/AMQ-2726 - with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@945032 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8b6a0c7237
commit
240619f0bb
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue