On 3/21/06, Jim Wight <[EMAIL PROTECTED]> wrote:
>
> How about
> usera = ( ReturnsZero(/bin/sh -c ${quote}/usr/bin/getent passwd usera 
> >/dev/null${quote}) )
>

Add to trap errors for truely silent operation: " ... >/dev/null 2>&1 ..."

> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> http://cfengine.org/mailman/listinfo/help-cfengine
>


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to