Specify lacking nodename (thanks to hamano)(#1020)

This commit is contained in:
Christophe Romain 2016-03-24 10:21:51 +01:00
parent 7066338948
commit df4c551f06
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ ctl()
# concurrent invocations using a bound
# number of atoms
for N in `seq 1 $MAXCONNID`; do
CTL_CONN="ejabberdctl-$N"
CTL_CONN="ctl-$N-${ERLANG_NODE}"
CTL_LOCKFILE="$CONNLOCKDIR/$CTL_CONN"
(
exec 8>"$CTL_LOCKFILE"