On Sat, 2018-07-28 at 08:03 -0700, Tom Eastep wrote: > diff --git a/Shorewall-core/lib.common b/Shorewall-core/lib.common > index 205fc705f..bbebf0936 100644 > --- a/Shorewall-core/lib.common > +++ b/Shorewall-core/lib.common > @@ -751,6 +751,8 @@ mutex_on() > lockf=${LOCKFILE:=${VARDIR}/lock} > local lockpid > local lockd > + local lockbin > + local openwrt > > MUTEX_TIMEOUT=${MUTEX_TIMEOUT:-60} > > @@ -760,28 +762,33 @@ mutex_on() > > [ -d "$lockd" ] || mkdir -p "$lockd" > > + lockbin=$(qt mywhich lock) > + openwrt=[ -n "$openwrt" -a -h "$openwrt" ]
Did you mean: + openwrt=[ -n "$lockbin" -a -h "$lockbin" ] here? Cheers, b.
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users