2008/159 svcs -xq

Ceri Davies ceri at submonkey.net
Wed Feb 27 14:58:18 PST 2008


On Wed, Feb 27, 2008 at 02:05:26PM -0800, Liane Praza wrote:
> I'm submitting this case on behalf of Mark Martin.  I've made it
> an Automatic approval, as it is adding an option to svcs which is
> already in identical use in another already ARCed command (svcprop).
> 
> If there are concerns, we'll happily turn this into a fasttrack and
> let the discussion run its course.
> 
> liane

> +     If the optional -q is provided in the fourth form, the command
> +     produces no human-readable text and simply returns an error
> +     code indicative of the existence of degraded services.  With
> +     this flag, an error code of 3 indicates services exist that are in
> +     a maintenance state whereas an error code of 0 indicates
> +     no services in the maintenance state.
> 
>   EXIT STATUS
> +
> +     3    Services exist in maintenance state.

I'd suggest that it's worth adding an exit status for the degraded
state as well.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mail.opensolaris.org/pipermail/opensolaris-arc/attachments/20080227/1ec7ae47/attachment.bin>


More information about the opensolaris-arc mailing list