From 5221c92d7fca94bbba7c5ce5ce35246930251167 Mon Sep 17 00:00:00 2001 From: Tuomo Soini Date: Mon, 8 Jun 2015 22:18:01 +0300 Subject: [PATCH] Add to lib.common a new function not_configured() Signed-off-by: Tuomo Soini --- Shorewall-core/lib.common | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Shorewall-core/lib.common b/Shorewall-core/lib.common index 5d0ec7ca1..3fbe95f83 100644 --- a/Shorewall-core/lib.common +++ b/Shorewall-core/lib.common @@ -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 #