diff --git a/Shorewall6/shorewall6 b/Shorewall6/shorewall6 index e7f8cda88..65ab1d6ee 100755 --- a/Shorewall6/shorewall6 +++ b/Shorewall6/shorewall6 @@ -226,17 +226,21 @@ get_config() { esac } +# +# Issue an error message and die +# +startup_error() { + echo " ERROR: $@" >&2 + kill $$ + exit 1 +} + # # Run the appropriate compiler # compiler() { pc=${PERLSHAREDIR}/compiler.pl - startup_error() { - echo " ERROR: $@" >&2 - exit 1 - } - local command command=$1