25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Apply previous commit to the container ejabberdctl script

This commit is contained in:
Badlop 2024-06-18 10:23:28 +02:00
parent 2c5a8f0860
commit fff0b5209c

View File

@ -286,7 +286,11 @@ uid() {
else
# Erlang/OTP 23 or higher: use native dynamic node code
# https://www.erlang.org/patches/otp-23.0#OTP-13812
echo undefined
if [ "$ERLANG_NODE" != "${ERLANG_NODE%.*}" ]; then
echo "undefined@${ERLANG_NODE#*@}"
else
echo "undefined"
fi
fi
}