1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 09:49:18 +02:00

ejabberdctl.template: Handle erts versions 9 o lower

This commit is contained in:
Badlop 2025-01-12 23:48:31 +01:00
parent 29e6204bde
commit 862cacabcb
2 changed files with 2 additions and 2 deletions

View file

@ -265,7 +265,7 @@ help()
# dynamic node name helper
uid() {
ERTSVERSION="$("$ERL" -version 2>&1 | sed 's|.*\([0-9][0-9]\).*|\1|g')"
ERTSVERSION="$("$ERL" -version 2>&1 | sed 's|.* \([0-9]*[0-9]\).*|\1|g')"
if [ $ERTSVERSION -lt 11 ] ; then # otp 23.0 includes erts 11.0
# Erlang/OTP lower than 23, which doesn's support dynamic node code
N=1