mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-13 18:18:22 +00:00
kvm_user_version: add explicit return statement
while perl returns the (scalar) result of the last expression automatically its still nicer to explicitly do so.. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1f91f7b464
commit
8eb73377c1
@ -1235,7 +1235,7 @@ sub kvm_user_version {
|
||||
my sub extract_version {
|
||||
my ($machine_type, $version) = @_;
|
||||
$version = kvm_user_version() if !defined($version);
|
||||
PVE::QemuServer::Machine::extract_version($machine_type, $version)
|
||||
return PVE::QemuServer::Machine::extract_version($machine_type, $version)
|
||||
}
|
||||
|
||||
sub kernel_has_vhost_net {
|
||||
|
Loading…
Reference in New Issue
Block a user