summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-30 10:51:19 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-03-30 10:51:19 -0500
commit6eed56bc0073e8ff2cc5aad8ee9f3355e8bddd32 (patch)
tree779e5f284209d35d417ff5c3b623444ce0c709ca /src
parent116ed5d18838652f2405126958e8ed6e75527224 (diff)
Final touchup to NEWS, make logging in pm-action a bit prettier.pm-utils-1.1.0
Diffstat (limited to 'src')
-rw-r--r--src/pm-action.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pm-action.in b/src/pm-action.in
index 14d773f..af67263 100644
--- a/src/pm-action.in
+++ b/src/pm-action.in
@@ -75,10 +75,10 @@ rm -f "${INHIBIT}"
# run the sleep hooks
log "$(date): Running hooks for $ACTION."
run_hooks sleep "$ACTION"
-log -n "$(date): $METHOD now."
+log "$(date): ${METHOD}ing"
# Sleep only if we know how and if a hook did not inhibit us.
command_exists "do_$METHOD" && [ ! -e "$INHIBIT" ] && { sync; "do_$METHOD"; }
-
+log "$(date): Awake."
log "$(date): Running hooks for $REVERSE"
# run the sleep hooks in reverse with the wakeup action
run_hooks sleep "$REVERSE" reverse