mirror of https://github.com/apache/activemq.git
apply patch for: https://issues.apache.org/jira/browse/AMQ-3831
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1336373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9629b968ee
commit
c17129154d
|
@ -323,6 +323,7 @@ checkUser() {
|
|||
# Still want to change users, recurse. This means that the user will only be
|
||||
# prompted for a password once.
|
||||
su -m $RUN_AS_USER -c "$REALPATH $1"
|
||||
RETVAL=$?
|
||||
|
||||
# Now that we are the original user again, we may need to clean up the lock file.
|
||||
if [ "X$LOCKPROP" != "X" ]
|
||||
|
@ -338,7 +339,7 @@ checkUser() {
|
|||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
exit $RETVAL
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -323,6 +323,7 @@ checkUser() {
|
|||
# Still want to change users, recurse. This means that the user will only be
|
||||
# prompted for a password once.
|
||||
su -m $RUN_AS_USER -c "$REALPATH $1"
|
||||
RETVAL=$?
|
||||
|
||||
# Now that we are the original user again, we may need to clean up the lock file.
|
||||
if [ "X$LOCKPROP" != "X" ]
|
||||
|
@ -338,7 +339,7 @@ checkUser() {
|
|||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
exit $RETVAL
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -317,6 +317,7 @@ checkUser() {
|
|||
# Still want to change users, recurse. This means that the user will only be
|
||||
# prompted for a password once.
|
||||
su -m $RUN_AS_USER -c "$REALPATH $1"
|
||||
RETVAL=$?
|
||||
|
||||
# Now that we are the original user again, we may need to clean up the lock file.
|
||||
if [ "X$LOCKPROP" != "X" ]
|
||||
|
@ -332,7 +333,7 @@ checkUser() {
|
|||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
exit $RETVAL
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue