summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-02-08 17:32:38 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-02-08 17:32:38 -0600
commitd8dcc81a0fa75b9a43bf5caf3d5b2fc21ee31520 (patch)
tree6b2d1dad96eb715894bc38152341084bf939d1c6 /pm
parent8df496aeffe3a7114fa01912d7605693c5bc64b9 (diff)
If PM_DEBUG = true, then set -x in functions.
This will store trace logs in the logfile.
Diffstat (limited to 'pm')
-rw-r--r--pm/functions.in2
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@"