summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
Diffstat (limited to 'pm')
-rw-r--r--pm/pm-functions.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/pm/pm-functions.in b/pm/pm-functions.in
index cd666b0..6d2ca2b 100644
--- a/pm/pm-functions.in
+++ b/pm/pm-functions.in
@@ -120,9 +120,10 @@ run_hooks() {
elif [ -f "$phooks/$base" ]; then
hook="$phooks/$base"
fi
+
+ echo $(date): running ${hook} $2
hook_ok "$hook" && (
IFS="${oifs}"
- echo "$(date): running ${hook} $2"
"${hook}" $2
)
hook_exit_status $?