mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-19 05:01:47 +02:00
Move startup_error() to lib.cli, plus cosmetic changes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user