added Vector_zeroEnd() function
[util-vserver.git] / util-vserver / scripts / vrpm-worker
index 85cfd28..d38c9a0 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/bash -e
+#! /bin/bash
 # $Id$
 
 # Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-set -x
+set -e
 
-: ${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"
@@ -31,4 +31,4 @@ shift
 
 pkgInit "$vserver" rpm
 
-exec $RPM_BINARY --root "$VDIR" "$@"
\ No newline at end of file
+exec $RPM_BINARY --root "$VDIR" "$@"