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:
parent
745fed70c0
commit
1061648ed4
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user