[Pm-utils] [PATCH 02/12] Make run_hooks skip disabled hooks.
Victor Lowther
victor.lowther at gmail.com
Wed Mar 12 16:49:26 PDT 2008
On Wed, Mar 12, 2008 at 08:20:35AM +0100, Till Maas wrote:
> On Wed March 12 2008, Victor Lowther wrote:
>
> > NA=254
> > +NX=253
> > +DX=252
>
> > $NA) echo "not applicable." ;;
> > + $NX) echo "not executable." ;;
> > + $DX) echo "disabled." ;;
>
> Imho these are badly chosen variable names, I am more in favor of using
> variable names that describe what they are for, e.g.:
>
> RET_NOT_AVAILABLE
> RET_NOT_EXECUTABLE
> RET_DISABLED
I intended the return codes to be mnemonics, not names.
> Regards,
> Till
> _______________________________________________
> Pm-utils mailing list
> Pm-utils at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pm-utils
--
Victor Lowther
Ubuntu Certified Professional
More information about the Pm-utils
mailing list