X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fvsomething;h=3738327fa51cf71e92bc4517cabc46e507b5ad3e;hb=5f167675beabb9f55df5fe8a579f87763764cb08;hp=d6060219fa1a76957e80a62732ff79fc0cf1c73f;hpb=3b34449070c0846fdc49436d1edd5916512f1644;p=util-vserver.git diff --git a/scripts/vsomething b/scripts/vsomething index d606021..3738327 100755 --- a/scripts/vsomething +++ b/scripts/vsomething @@ -1,5 +1,5 @@ #! /bin/bash -# $Id: vsomething 2303 2006-09-12 12:39:00Z dhozac $ +# $Id: vsomething 2515 2007-03-18 15:32:22Z dhozac $ # Copyright (C) 2005 Enrico Scholz # @@ -106,7 +106,7 @@ for i in "${vservers[@]}"; do if pkgmgmt.isInternal "$i"; then $_VSERVER "$i" exec "$cmd" "$@" else - _getVserverDir "$i" + _setVserverDir "$i" ( _generateChbindOptions "$VSERVER_DIR" $_VSERVER "$i" status &> /dev/null && \ CHBIND_CMD=( "$_CHBIND" "${CHBIND_OPTS[@]}" -- )