Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion service/elasticsearch
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ checkUser() {
then
/sbin/runuser - $RUN_AS_USER -c "\"$REALPATH\" $2"
else
su - $RUN_AS_USER -c "\"$REALPATH\" $2"
su - $RUN_AS_USER -s "/bin/sh" -c "\"$REALPATH\" $2"
fi

# Now that we are the original user again, we may need to clean up the lock file.
Expand Down