Container: Apply commit 19e2e16

Let "ejabberdctl etop" work in a release (if observer is available)
This commit is contained in:
Badlop 2024-02-09 11:06:18 +01:00
parent 66645baa75
commit 413ffd7470
1 changed files with 2 additions and 2 deletions

View File

@ -366,10 +366,10 @@ case $1 in
;;
etop)
set_dist_client
exec_erl "$(uid top)" -hidden -node "$ERLANG_NODE" \
exec_erl "$(uid top)" -hidden -remsh "$ERLANG_NODE" \
-eval 'net_kernel:connect_node('"'$ERLANG_NODE'"')' \
-s etop \
-s erlang halt -output text
-output text
;;
iexdebug)
debugwarning