give out errormessage on unknown distribution type
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 22 Mar 2004 23:18:31 +0000 (23:18 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 22 Mar 2004 23:18:31 +0000 (23:18 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1316 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vpkg

index 1d0f2c9..7e065e8 100755 (executable)
@@ -132,6 +132,10 @@ case "$style" in
            cmd=( "$_VSERVER" --silent "$vserver" exec "${cmd[@]}" )
        fi
        ;;
+    (*)
+       echo $"Packagemanagement is not supported for '$style' style" >&2
+       exit 1
+       ;;
 esac
 
 export LANG=C