mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-07 14:53:38 +00:00
fix spelling error in comment
Signed-off-by: Noel Ullreich <n.ullreich@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
eba285f594
commit
4748661ae4
@ -840,7 +840,7 @@ __PACKAGE__->register_method({
|
|||||||
# OK
|
# OK
|
||||||
} elsif ($archive && $force && (-f $filename) &&
|
} elsif ($archive && $force && (-f $filename) &&
|
||||||
$rpcenv->check($authuser, "/vms/$vmid", ['VM.Backup'], 1)) {
|
$rpcenv->check($authuser, "/vms/$vmid", ['VM.Backup'], 1)) {
|
||||||
# OK: user has VM.Backup permissions, and want to restore an existing VM
|
# OK: user has VM.Backup permissions and wants to restore an existing VM
|
||||||
} else {
|
} else {
|
||||||
raise_perm_exc();
|
raise_perm_exc();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user