mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 06:10:42 +01:00
Add to lib.common a new function not_configured()
Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
parent
8bc62d1474
commit
5221c92d7f
@ -79,6 +79,15 @@ fatal_error() # $@ = Message
|
||||
exit 2
|
||||
}
|
||||
|
||||
#
|
||||
# Not configured Error
|
||||
#
|
||||
not_configured() # $@ = Message
|
||||
{
|
||||
echo " ERROR: $@" >&2
|
||||
exit 6
|
||||
}
|
||||
|
||||
#
|
||||
# Get the Shorewall version of the passed script
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user