5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-03-12 20:58:26 +03:00

use timeout flag instead of wait command

This commit is contained in:
Dietmar Maurer 2011-12-16 06:35:07 +01:00
parent 745fed70c0
commit 1061648ed4

View File

@ -193,7 +193,7 @@ sub stop_vm {
my $wait = $opts->{stopwait} * 60;
# send shutdown and wait
$self->cmd ("qm shutdown $vmid --skiplock && qm wait $vmid --timeout $wait");
$self->cmd ("qm shutdown $vmid --skiplock --timeout $wait");
}
sub start_vm {