summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-07 20:15:48 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-03-07 20:15:48 -0600
commitd672471adca4ec3208e15c2198e46004541a20de (patch)
tree3d96bc4cd2b679fbb57ce310be0f8fd06d6b9d86 /pm
parent198136577ea5c57e86aa9b01f95d63ce0b882e5c (diff)
Moved the "Running hook" diagnostic message in run_hooks.
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 $?