diff options
author | tnut <tnut at nutyx dot com> | 2011-05-24 07:11:06 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-05-24 07:11:06 +0200 |
commit | bb4618c85ab156228681e5de73bd81794e5ea130 (patch) | |
tree | 33333f47198aff7d5164c81848d569d298fd1c2e /extra/pm-utils/pm-utils-02-loggin-append.patch | |
parent | bfe58bfe4f2db38f3fb3d7fd61e0fb9b35ce11c4 (diff) | |
parent | 628ce8343c551ebaeee83a388079396afec0c7c5 (diff) | |
download | nutyx-extra-bb4618c85ab156228681e5de73bd81794e5ea130.tar.gz nutyx-extra-bb4618c85ab156228681e5de73bd81794e5ea130.tar.bz2 nutyx-extra-bb4618c85ab156228681e5de73bd81794e5ea130.tar.xz nutyx-extra-bb4618c85ab156228681e5de73bd81794e5ea130.zip |
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/pakxe
Diffstat (limited to 'extra/pm-utils/pm-utils-02-loggin-append.patch')
-rw-r--r-- | extra/pm-utils/pm-utils-02-loggin-append.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/pm-utils/pm-utils-02-loggin-append.patch b/extra/pm-utils/pm-utils-02-loggin-append.patch new file mode 100644 index 000000000..879c0ffdf --- /dev/null +++ b/extra/pm-utils/pm-utils-02-loggin-append.patch @@ -0,0 +1,20 @@ +Author: James Westby <james.westby@ubuntu.com> +Description: Do not clear the log file on each operation, but instead append to it. + This makes debugging of several suspends much easier. +Bug: https://bugs.freedesktop.org/show_bug.cgi?id=25255 +Bug-Ubuntu: https://launchpad.net/bugs/410352 + +Index: pm-utils/pm/pm-functions.in +=================================================================== +--- pm-utils.orig/pm/pm-functions.in 2010-07-05 18:41:21.118322244 +0200 ++++ pm-utils/pm/pm-functions.in 2010-07-05 18:41:24.126325221 +0200 +@@ -271,7 +271,7 @@ + return 1 + fi + export LOGGING=true +- exec > "$1" 2>&1 ++ exec >> "$1" 2>&1 + } + + check_suspend() { [ -n "$SUSPEND_MODULE" ]; } + |