summaryrefslogtreecommitdiffhomepage
path: root/debug.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-05-21 22:58:56 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-05-21 22:58:56 +0800
commit2a81289ed32d9e1ca612a41975974bfa258d2ace (patch)
treecb038171278952ba55b5f026d6ae8827953e0187 /debug.h
parent5acee497bf3e44d86bdecf5bfa35042c363ab753 (diff)
Make DEBUG_NOFORK a #if not #ifdef
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/debug.h b/debug.h
index 8659b5c..403449b 100644
--- a/debug.h
+++ b/debug.h
@@ -66,7 +66,9 @@ extern int debug_trace;
/* To debug with GDB it is easier to run with no forking of child processes.
You will need to pass "-F" as well. */
-/* #define DEBUG_NOFORK */
+#ifndef DEBUG_NOFORK
+#define DEBUG_NOFORK 0
+#endif
/* For testing as non-root on shadowed systems, include the crypt of a password