hook_exit_status relies on the last exit code, but the function `log()`
always returns 0.
The log lines adds something like:
"/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:
and hook_exit_status:
success.
Shouldn't the log lines be moved to hook_exit_status? Otherwise, the
exitcode should be stored in a variable and applied to hook_exit_code as
described in the bug report.
This bug does not occur at Debians pm-utils package, there are no log
lines between hook_ok and hook_exit_code
** Changed in: pm-utils (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/665651
Title:
pm-utils does not follow requests to inhibit suspend/hibernate from
scripts in /etc/pm/sleep.d
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs