From 2b48732de4365426c7f6741ae73ff02364e5540f Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 12 Jul 2010 18:53:16 +0200 Subject: [PATCH] Fix my flock change from last friday --- src/ejabberdctl.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberdctl.template b/src/ejabberdctl.template index bf61a5561..cbf528d3f 100644 --- a/src/ejabberdctl.template +++ b/src/ejabberdctl.template @@ -240,7 +240,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()