Fix fatal errors detected in a sub-shell

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3397 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-01-28 20:13:39 +00:00
parent 0a3c873e98
commit 1a1727bab1
2 changed files with 2 additions and 1 deletions

View File

@ -46,6 +46,7 @@ fatal_error() # $* = Error Message
{ echo " ERROR: $@" >&2 { echo " ERROR: $@" >&2
[ -n "$TMP_DIR" ] && rm -rf $TMP_DIR [ -n "$TMP_DIR" ] && rm -rf $TMP_DIR
[ -n "$OUTPUT" ] && rm -f $OUTPUT [ -n "$OUTPUT" ] && rm -f $OUTPUT
kill $$
exit 2 exit 2
} }

View File

@ -68,7 +68,7 @@ New Features added in 3.1.4
VERBOSITY=0 in shorewall.conf, then you will need to include -vvv in VERBOSITY=0 in shorewall.conf, then you will need to include -vvv in
commands that display log records in order to have MACs displayed. commands that display log records in order to have MACs displayed.
3) Shorewall now implements the 'start' and 'restart' using a "compile and 3) Shorewall now implements 'start' and 'restart' using a "compile and
go" approach. See the details under the first new feature below. go" approach. See the details under the first new feature below.
4) The "-p" option to the 'compile' command is gone. Generation of a 4) The "-p" option to the 'compile' command is gone. Generation of a