summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/container/create7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/container/create b/lib/container/create
index 2ffcfda..561584c 100755
--- a/lib/container/create
+++ b/lib/container/create
@@ -121,6 +121,13 @@ then
Usage
fi
+case "${NAME}" in
+ ALL)
+ echo "'${NAME}': name 'ALL' is reserved to expand to all available container" >&2
+ exit 1
+ ;;
+esac
+
if [ -e "${CONFIG}/${NAME}.conf" ]
then
echo "'${NAME}': container already exists or ${CONFIG}/${NAME}.conf has not been removed" >&2