projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
VSERVER_NAME should always be basedir of VSERVER_DIR.
[util-vserver.git]
/
scripts
/
functions
diff --git
a/scripts/functions
b/scripts/functions
index
7b31944
..
c1be17f
100644
(file)
--- a/
scripts/functions
+++ b/
scripts/functions
@@
-294,11
+294,7
@@
function _setVserverDir
function _setVserverName
{
- if test -e "$VSERVER_DIR"/name; then
- read VSERVER_NAME <"$VSERVER_DIR"/name
- else
- VSERVER_NAME=$(basename "$VSERVER_DIR")
- fi
+ VSERVER_NAME=$(basename "$VSERVER_DIR")
}
function _pkgMountBindDir()