Skip to content
Snippets Groups Projects
Commit 3b3252bf authored by intrigeri's avatar intrigeri
Browse files

lib/vserver.in: fixed #351083 (readlink syntax error)

parent b756a86d
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ init_vservers() { ...@@ -35,7 +35,7 @@ init_vservers() {
getconf VSERVER /usr/sbin/vserver getconf VSERVER /usr/sbin/vserver
getconf VROOTDIR `if [ -x "$VSERVERINFO" ]; then $VSERVERINFO info SYSINFO | grep '^ *vserver-Rootdir' | awk '{print $2}'; fi` getconf VROOTDIR `if [ -x "$VSERVERINFO" ]; then $VSERVERINFO info SYSINFO | grep '^ *vserver-Rootdir' | awk '{print $2}'; fi`
# canonicalize VROOTDIR # canonicalize VROOTDIR
VROOTDIR=`readlink --canonicalize $VROOTDIR` [ -z "$VROOTDIR" ] || VROOTDIR=`readlink --canonicalize $VROOTDIR`
# init this library's global variables # init this library's global variables
vservers_are_available=no vservers_are_available=no
found_vservers= found_vservers=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment