mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-02-16 15:40:14 +00:00
Merge branch 'GP-0_ryanmkurtz_PR-5277_zebrapurring_fix-bsd-sed-error'
This commit is contained in:
commit
078b0d2c7b
@ -42,7 +42,7 @@ else
|
||||
fi
|
||||
|
||||
# Identify server process owner if set within server.conf
|
||||
OWNER="$(grep '^wrapper.app.account=' "${CONFIG}" | sed -e 's/^.*=\(.*\)\s*.*$/\1/')"
|
||||
OWNER="$(grep '^wrapper.app.account=' "${CONFIG}" | cut -d '=' -f 2)"
|
||||
|
||||
if [ -z "${OWNER}" -o "${OWNER}" = "$(whoami)" ]; then
|
||||
VMARGS="-DUserAdmin.invocation=$(basename "${SCRIPT_FILE}")"
|
||||
|
Loading…
Reference in New Issue
Block a user