diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-03-07 20:15:48 -0600 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-03-07 20:15:48 -0600 |
commit | d672471adca4ec3208e15c2198e46004541a20de (patch) | |
tree | 3d96bc4cd2b679fbb57ce310be0f8fd06d6b9d86 | |
parent | 198136577ea5c57e86aa9b01f95d63ce0b882e5c (diff) |
Moved the "Running hook" diagnostic message in run_hooks.
-rw-r--r-- | pm/pm-functions.in | 3 |
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 $? |