[Pm-utils] [PATCH 02/12] Make run_hooks skip disabled hooks.

Till Maas opensource at till.name
Wed Mar 12 00:20:35 PDT 2008


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

Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080312/cdb014f4/attachment.pgp 


More information about the Pm-utils mailing list