It might come in handy to have more than one run's worth of data in the log.

---
 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 0d8d73f..8c080f6 100644
--- a/pm/pm-functions.in
+++ b/pm/pm-functions.in
@@ -183,7 +183,8 @@ init_logfile()
                return 1
        fi
        export LOGGING=true
-       exec > "$1" 2>&1
+       exec >> "$1" 2>&1
+       log "---MARK---"
        log "$(date): $0 running."
 }
 
-- 
1.5.4.3

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

Reply via email to