diff --git a/tests/sys/netpfil/pf/utils.subr b/tests/sys/netpfil/pf/utils.subr --- a/tests/sys/netpfil/pf/utils.subr +++ b/tests/sys/netpfil/pf/utils.subr @@ -59,7 +59,10 @@ pft_init() { - trap pft_onerror EXIT + if [ "$1" == "debug" ] + then + trap pft_onerror EXIT + fi vnet_init