mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-26 10:03:51 +03:00
fix "Use of uninitialized value $target"
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
75466c4fa6
commit
751cc556dc
@ -1886,7 +1886,7 @@ __PACKAGE__->register_method({
|
||||
|
||||
my $localnode = PVE::INotify::nodename();
|
||||
|
||||
undef $target if $target eq $localnode || $target eq 'localhost';
|
||||
undef $target if $target && ($target eq $localnode || $target eq 'localhost');
|
||||
|
||||
PVE::Cluster::check_node_exists($target) if $target;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user