Skip to content

Commit

Permalink
Issue #10696 - Fixing bad UID / JETTY_USER condition
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <[email protected]>
  • Loading branch information
joakime committed Oct 10, 2023
1 parent 17c8b4d commit 1c87984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jetty-home/src/main/resources/bin/jetty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ case "$ACTION" in
fi

# Do not test for file system permissions if user is root, or process will switch to JETTY_USER
if [ $UID -ne 0] && [ -z "$JETTY_USER"]
if [ $UID -ne 0 ] && [ -z "$JETTY_USER" ]
then
if ! touch "$JETTY_PID"
then
Expand Down

0 comments on commit 1c87984

Please sign in to comment.