This was always rather odd for ./mg-allocate HOSTNAME but makes the more sophisticated uses like ./mg-allocate '{FLAG,FLAG,...}' very much less useful.
Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com> --- mg-allocate | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mg-allocate b/mg-allocate index d295997..9b66114 100755 --- a/mg-allocate +++ b/mg-allocate @@ -234,8 +234,7 @@ END if ($allocate) { if ($candrow->{owntaskid} == $tid) { logm("$desc: already allocated to $tid"); - $got_shareix= $candrow->{shareix}; - $ok=1; last; + next; } if ($isshared) { logm("$desc: available, unsharing"); -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel