Add to lib.common a new function not_configured()

Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
Tuomo Soini 2015-06-08 22:18:01 +03:00
parent 8bc62d1474
commit 5221c92d7f

View File

@ -79,6 +79,15 @@ fatal_error() # $@ = Message
exit 2 exit 2
} }
#
# Not configured Error
#
not_configured() # $@ = Message
{
echo " ERROR: $@" >&2
exit 6
}
# #
# Get the Shorewall version of the passed script # Get the Shorewall version of the passed script
# #