[Pkg-openldap-devel] OpenLDAP 2.4.7

Russ Allbery rra at debian.org
Sat Jan 12 03:24:39 UTC 2008


Russ Allbery <rra at debian.org> writes:

> result=0
> if perl -e "$script" $SLAPD_CONF ; then
>     result=0
> else
>     result=1
> fi
>
> although I'm not very good with the fancy bits of shell and there's
> probably a better way of doing that.

Like, for example, not initializing result before setting it in both
branches, at least.  :)

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>



More information about the Pkg-openldap-devel mailing list