---
 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 $?
-- 
1.5.4.3

_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to