mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix my flock change from last friday
This commit is contained in:
parent
e82db8cc7f
commit
42ddc297fe
@ -239,7 +239,7 @@ ctl ()
|
|||||||
MAXCONNID=100
|
MAXCONNID=100
|
||||||
CONNLOCKDIR=@LOCALSTATEDIR@/lock/ejabberdctl
|
CONNLOCKDIR=@LOCALSTATEDIR@/lock/ejabberdctl
|
||||||
FLOCK='/usr/bin/flock'
|
FLOCK='/usr/bin/flock'
|
||||||
if [ ! -x "$FLOCK" || ! -d "$CONNLOCKDIR" ] ; then
|
if [ ! -x "$FLOCK" ] || [ ! -d "$CONNLOCKDIR" ] ; then
|
||||||
JOT='/usr/bin/jot'
|
JOT='/usr/bin/jot'
|
||||||
if [ ! -x "$JOT" ] ; then
|
if [ ! -x "$JOT" ] ; then
|
||||||
# no flock or jot, simply invoke ctlexec()
|
# no flock or jot, simply invoke ctlexec()
|
||||||
|
Loading…
Reference in New Issue
Block a user