projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b756a86
)
lib/vserver.in: fixed #351083 (readlink syntax error)
author
intrigeri
<intrigeri@boum.org>
Thu, 2 Feb 2006 20:09:50 +0000
(20:09 +0000)
committer
intrigeri
<intrigeri@boum.org>
Thu, 2 Feb 2006 20:09:50 +0000
(20:09 +0000)
lib/vserver.in
patch
|
blob
|
history
diff --git
a/lib/vserver.in
b/lib/vserver.in
index 1c267c6f0acaacf4a02b02a5d32e566ff8e217b7..8a585bf16787dddb506e53e65b8e1de5c194a202 100644
(file)
--- a/
lib/vserver.in
+++ b/
lib/vserver.in
@@
-35,7
+35,7
@@
init_vservers() {
getconf VSERVER /usr/sbin/vserver
getconf VROOTDIR `if [ -x "$VSERVERINFO" ]; then $VSERVERINFO info SYSINFO | grep '^ *vserver-Rootdir' | awk '{print $2}'; fi`
# canonicalize VROOTDIR
- VROOTDIR=`readlink --canonicalize $VROOTDIR`
+
[ -z "$VROOTDIR" ] ||
VROOTDIR=`readlink --canonicalize $VROOTDIR`
# init this library's global variables
vservers_are_available=no
found_vservers=