forked from extern/shorewall_code
Correct defect in the handling of 'trace' and 'debug'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9ecddfd1ce
commit
baafa10711
@ -94,7 +94,12 @@ run_it() {
|
|||||||
#
|
#
|
||||||
# 4.4.8 or later -- no additional exports required
|
# 4.4.8 or later -- no additional exports required
|
||||||
#
|
#
|
||||||
options='-'
|
if [ x$1 = xtrace -o x$1 = xdebug ]; then
|
||||||
|
options="$1 -"
|
||||||
|
shift;
|
||||||
|
else
|
||||||
|
options='-'
|
||||||
|
fi
|
||||||
|
|
||||||
[ -n "$g_noroutes" ] && options=${options}n
|
[ -n "$g_noroutes" ] && options=${options}n
|
||||||
[ -n "$g_timestamp" ] && options=${options}t
|
[ -n "$g_timestamp" ] && options=${options}t
|
||||||
|
@ -92,7 +92,12 @@ run_it() {
|
|||||||
#
|
#
|
||||||
# 4.4.8 or later -- no additional exports required
|
# 4.4.8 or later -- no additional exports required
|
||||||
#
|
#
|
||||||
options='-'
|
if [ x$1 = xtrace -o x$1 = xdebug ]; then
|
||||||
|
options="$1 -"
|
||||||
|
shift;
|
||||||
|
else
|
||||||
|
options='-'
|
||||||
|
fi
|
||||||
|
|
||||||
[ -n "$g_noroutes" ] && options=${options}n
|
[ -n "$g_noroutes" ] && options=${options}n
|
||||||
[ -n "$g_timestamp" ] && options=${options}t
|
[ -n "$g_timestamp" ] && options=${options}t
|
||||||
|
Loading…
Reference in New Issue
Block a user