be more verbosely when vserver could not be determined and give hints
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 21 Jan 2005 13:44:03 +0000 (13:44 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 21 Jan 2005 13:44:03 +0000 (13:44 +0000)
about possible solutions (based upon ideas by Thorsten Gunkel)

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1788 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver

index 05adf2f..c313d48 100755 (executable)
@@ -179,8 +179,13 @@ fi
 
 test -d "$VSERVER_DIR" || {
     echo $"\
-Can not find vserver-setup; please make sure that the vserver configuration
-is located at $VSERVER_DIR/."
+Can not find a vserver-setup at '$VSERVER_DIR/'.
+
+Possible solutions:
+* fix the spelling of the '$vserver' vserver name
+* read 'vserver $vserver build --help' about ways to create a new vserver
+* see 'vserver --help' for the syntax of this command
+"
     exit 5
 } >&2