From a4b00acdddd30c206bbb3d6ababf2d8a95b0cd0a Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 24 Nov 2009 12:28:52 +0100 Subject: [PATCH 2/2] Keep logs of previous operations Do not clear the log file on each operation, but instead append to it. This makes debugging of several suspends much easier. --- pm/pm-functions.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pm/pm-functions.in b/pm/pm-functions.in index 67910ea..4c8bc7b 100644 --- a/pm/pm-functions.in +++ b/pm/pm-functions.in @@ -233,7 +233,7 @@ init_logfile() return 1 fi export LOGGING=true - exec > "$1" 2>&1 + exec >> "$1" 2>&1 } check_suspend() { [ -n "$SUSPEND_MODULE" ]; } -- 1.6.5