vncproxy: remove check if VM is running

Because this does not work when VM is on other cluster node.
This commit is contained in:
Dietmar Maurer 2014-06-25 09:54:23 +02:00
parent 57a5429d73
commit 12a1e0f4e8

View File

@ -1348,8 +1348,6 @@ __PACKAGE__->register_method({
$cmd = ['/bin/nc', '-l', '-p', $port, '-w', $timeout, '-c', "$qmstr 2>/dev/null"];
}
die "VM $vmid not running\n" if !PVE::QemuServer::check_running($vmid);
PVE::Tools::run_command($cmd);
return;