X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Frootshell;h=5eae0bfe425568ddd3af9776fc959aedf9cb5e31;hb=c574f33e210c3438945209d685c218c51f74cbaa;hp=d7203b1ee0671b04c4ff58a03fc046ed3c779b5a;hpb=737e5afe4cda25c0c509c5aaa0608966f0b39e50;p=util-vserver.git diff --git a/util-vserver/scripts/rootshell b/util-vserver/scripts/rootshell index d7203b1..5eae0bf 100755 --- a/util-vserver/scripts/rootshell +++ b/util-vserver/scripts/rootshell @@ -16,9 +16,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -: ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars} +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} test -e "$UTIL_VSERVER_VARS" || { - echo "Can not find util-vserver installation; aborting..." + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2 exit 1 } . "$UTIL_VSERVER_VARS"