Move startup_error() to lib.cli, plus cosmetic changes

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep
2011-12-08 22:00:48 -08:00
parent eec8a4edaf
commit 4cf564e7c9
4 changed files with 11 additions and 20 deletions

View File

@@ -331,15 +331,6 @@ get_config() {
esac
}
#
# Issue an error message and die
#
startup_error() {
echo " ERROR: $@" >&2
kill $$
exit 1
}
#
# Determine if there are config files newer than the passed object
#
@@ -1596,7 +1587,7 @@ compiler_command() {
compile)
get_config Yes
shift
compile_command $@1
compile_command $@
;;
refresh)
get_config Yes Yes