You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-power/pm-utils/files/1.4.1-run-hook-logging.patch

18 lines
461 B

Description: In suspend log, put empty line after running the hook, not in between.
Author: Dominique Brazziel <dbrazziel@snet.net>
Bug-Debian: http://bugs.debian.org/661168
--- pm/pm-functions.in
+++ pm/pm-functions.in
@@ -199,9 +199,9 @@
hook_ok "$1" && "$@"
# log() changes the return value, so save it for later
local status=$?
- log ""
log -n "$*: "
hook_exit_status $status && LAST_HOOK="${1##*/}" || inhibit
+ log ""
}
if profiling; then