summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2011-09-17 16:47:04 +0200
committerDominique Martinet <asmadeus@codewreck.org>2011-09-17 16:47:04 +0200
commit718c961c6e253514b1a4f4e411a998dadae19838 (patch)
tree115387d07f6955b1c1359677dfd8e36d48021bf3
parentf5c65edae223262b4a926979ab3cd34606de86d3 (diff)
fixup for kvm-wrapper new syntax
-rwxr-xr-xkvm-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-wrapper.sh b/kvm-wrapper.sh
index befdc9c..af6e6cf 100755
--- a/kvm-wrapper.sh
+++ b/kvm-wrapper.sh
@@ -895,7 +895,7 @@ case "$1" in
;;
esac
-kvm_init_env "${!#}"
+kvm_init_env "$2"
test_nodename "$KVM_CLUSTER_NODE" && { run_remote $KVM_CLUSTER_NODE $ROOTDIR/kvm-wrapper.sh $@; exit $?; }