summaryrefslogtreecommitdiff
path: root/pm/pm-functions.in
diff options
context:
space:
mode:
Diffstat (limited to 'pm/pm-functions.in')
-rw-r--r--pm/pm-functions.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/pm/pm-functions.in b/pm/pm-functions.in
index 9a25b10..c82be30 100644
--- a/pm/pm-functions.in
+++ b/pm/pm-functions.in
@@ -195,8 +195,10 @@ hook_ok()
_run_hook() {
# $1 = hook to run
# rest of args passed to hook unchanged.
- log -n "$*:"
+ log "Running hook $*:"
hook_ok "$1" && "$@"
+ log ""
+ log -n "$*: "
hook_exit_status $? && LAST_HOOK="${1##*/}" || inhibit
}