[Pm-utils] [PATCH 1/6] Split hook running into two phases -- core and aux

Till Maas opensource at till.name
Sat May 17 08:40:39 PDT 2008


On Friday 16 May 2008 23:50:18 Stefan Seyfried wrote:

> Until now, we just created $INHIBIT, possibly even with descriptive content
> what failed and why we cannot suspend because of it, and thus had no need
> to care for the return code. Just check if $INHIBIT is created at the end

Who did this? In pm-utils 0.99.4 there was no hook that created $INHIBIT and 
it was also not documented.

> The GUI app can show the user the logfile and the content of the $INHIBIT
> file. This is not a perfect solution, but a reasonably simple one and then
> we should try to avoid failing suspends anyway ;-)

Imho the reason / error message for a suspend failure should go into the 
logfile and not be separated from it.

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/20080517/2ca9c9ed/attachment.pgp 


More information about the Pm-utils mailing list