Fix my flock change from last friday

This commit is contained in:
Badlop 2010-07-12 18:53:16 +02:00
parent e82db8cc7f
commit 42ddc297fe
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ ctl ()
MAXCONNID=100
CONNLOCKDIR=@LOCALSTATEDIR@/lock/ejabberdctl
FLOCK='/usr/bin/flock'
if [ ! -x "$FLOCK" || ! -d "$CONNLOCKDIR" ] ; then
if [ ! -x "$FLOCK" ] || [ ! -d "$CONNLOCKDIR" ] ; then
JOT='/usr/bin/jot'
if [ ! -x "$JOT" ] ; then
# no flock or jot, simply invoke ctlexec()