vzdump: fix up PBS plugin

fixes commit 0b2f574b4c

enforce_vm_running_for_backup is now witout return value, for the PBS
I forgot to remove an now outdated call to handle_vm_powerstate, drop
that.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-03-26 08:49:16 +01:00
parent 5d008ad383
commit e485854100

View File

@ -380,7 +380,6 @@ sub archive_pbs {
# get list early so we die on unkown drive types before doing anything
my $devlist = _get_task_devlist($task);
my ($stop_after_backup, $resume_on_backup) = $self->handle_vm_powerstate($vmid);
$self->enforce_vm_running_for_backup($vmid);
my $backup_job_uuid;