accept 'async' method
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 3 Jul 2005 17:48:13 +0000 (17:48 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 3 Jul 2005 17:48:13 +0000 (17:48 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2132 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vshelper

index 2bd6ed1..9738ba8 100755 (executable)
@@ -207,7 +207,7 @@ else
 fi
 
 case "$method" in
-    (default)  doDefaultMethod "$@";;
-    (sync)     doInternalMethod "$method" "$@";;
-    (*)                panic $"Unknown method '$method' used by vserver '$VSERVER'";;
+    (default)          doDefaultMethod "$@";;
+    (sync|async)       doInternalMethod "$method" "$@";;
+    (*)                        panic $"Unknown method '$method' used by vserver '$VSERVER'";;
 esac