Package: pm-utils
Version: 1.4.1-9
Severity: minor
Tags: patch
Dear Maintainer,
The log messages written by function '_run_hook()' from
'/usr/lib/pm-utils/pm-functions' outputs a blank line after
writing the "Running hook..." message so there is a blank
line separating the start and finish message, but no line
separating the finish of a hook and start of the next hook.
The attached patch just moves the blank to the end, which
improves readability of the log a bit.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.4-interatom (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages pm-utils depends on:
ii powermgmt-base 1.31
Versions of packages pm-utils recommends:
ii console-tools 1:0.2.3dbs-70
ii hdparm <none>
ii procps 1:3.2.8-11
ii vbetool 1.1-2
Versions of packages pm-utils suggests:
ii cpufrequtils 007-2
ii ethtool <none>
ii radeontool 1.6.2-1.1
ii wireless-tools 30~pre9-8
-- no debconf information
--- pm-functions.in.orig 2012-02-22 21:37:29.233126862 -0500
+++ pm-functions.in 2012-02-22 21:38:21.089880060 -0500
@@ -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