git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1336373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2012-05-09 20:05:48 +00:00
parent 9629b968ee
commit c17129154d
3 changed files with 6 additions and 3 deletions

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}