projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
04f422f
)
VSERVER_NAME should always be basedir of VSERVER_DIR.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 28 Oct 2010 16:59:51 +0000 (16:59 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 28 Oct 2010 16:59:51 +0000 (16:59 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2919
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
scripts/functions
patch
|
blob
|
history
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()