On Fri, Feb 15, 2008 at 08:52:59AM +0100, Michael Biebl wrote: > 2008/2/15, Victor Lowther <[EMAIL PROTECTED]>: > > This patch series is strictly for cleanups, mainly getting rid on unneeded > > calls to exit and return. > > > > Our on_ac_power never returns 255, so don't bother mentioning it. > > I wouldn't remove the documentation > Instead I'd return 255 in on_ac_power if hal-find-by-capability / > hal-get-property are not available.
The script did that originally back at the dawn of time. I believe the 255 return was removed because it caused more confusion than assuming the system was on ac power if we cannot find out what power source it is using. > Cheers, > Michael > > -- > Why is it that all of the instruments seeking intelligent life in the > universe are pointed away from Earth? -- Victor Lowther Ubuntu Certified Professional _______________________________________________ Pm-utils mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pm-utils
