]> git.proxmox.com Git - pve-zsync.git/blobdiff - pve-zsync
Fix variable name
[pve-zsync.git] / pve-zsync
index 5fecbc2883abfd2fd697ab3ad6ff712a3f733096..212ada9e35d7f6e8818343a0e0fdf6159629098e 100644 (file)
--- a/pve-zsync
+++ b/pve-zsync
@@ -484,7 +484,7 @@ sub init {
     $job->{vm_type} = $vm_type;
     $source->{vm_type} = $vm_type;
 
-    die "VM $source->{vmid} doesn't exist\n" if $param->{vmid} && !$vm_type;
+    die "VM $source->{vmid} doesn't exist\n" if $source->{vmid} && !$vm_type;
 
     die "Config already exists\n" if $cfg->{$job->{source}}->{$job->{name}};