From 69d51a4b9c3ff3123f4827367256c917008636b0 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 16 Jul 2006 15:17:53 +0000 Subject: [PATCH] Dump Initial Environment when tracing git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4225 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index 1a057a611..d461cb599 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -8562,14 +8562,12 @@ usage() { # # Start trace if first arg is "debug" # -[ $# -gt 1 ] && [ "$1" = "debug" ] && { set -x ; shift ; } +[ $# -gt 1 ] && [ "$1" = "debug" ] && { set -x ; shift ; env >&2; } NOLOCK= [ $# -gt 1 ] && [ "$1" = "nolock" ] && { NOLOCK=Yes; shift ; } -trap "exit 2" 1 2 3 4 5 6 9 - COMMAND="$1" case "$COMMAND" in