This will store trace logs in the logfile.
---
 pm/functions.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pm/functions.in b/pm/functions.in
index a9f0c1b..e74a80e 100644
--- a/pm/functions.in
+++ b/pm/functions.in
@@ -8,6 +8,8 @@
 # PM_CMDLINE
 # RESUME_MODULES
 #
+# for great debugging!
+[ "${PM_DEBUG}" = "true" ] && set -x
 set -a
 PM_UTILS_LIBDIR="@PM-UTILS-LIBDIR@"
 PM_UTILS_ETCDIR="@PM-UTILS-SYSCONFDIR@"
-- 
1.5.3.8

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

Reply via email to