mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Dump Initial Environment when tracing
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4225 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
c25978f28a
commit
69d51a4b9c
@ -8562,14 +8562,12 @@ usage() {
|
|||||||
#
|
#
|
||||||
# Start trace if first arg is "debug"
|
# Start trace if first arg is "debug"
|
||||||
#
|
#
|
||||||
[ $# -gt 1 ] && [ "$1" = "debug" ] && { set -x ; shift ; }
|
[ $# -gt 1 ] && [ "$1" = "debug" ] && { set -x ; shift ; env >&2; }
|
||||||
|
|
||||||
NOLOCK=
|
NOLOCK=
|
||||||
|
|
||||||
[ $# -gt 1 ] && [ "$1" = "nolock" ] && { NOLOCK=Yes; shift ; }
|
[ $# -gt 1 ] && [ "$1" = "nolock" ] && { NOLOCK=Yes; shift ; }
|
||||||
|
|
||||||
trap "exit 2" 1 2 3 4 5 6 9
|
|
||||||
|
|
||||||
COMMAND="$1"
|
COMMAND="$1"
|
||||||
|
|
||||||
case "$COMMAND" in
|
case "$COMMAND" in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user