]> git.proxmox.com Git - pve-zsync.git/commit
vm_exists: directly check if we look for local guest
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 19 Nov 2018 16:56:33 +0000 (17:56 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 20 Nov 2018 14:46:25 +0000 (15:46 +0100)
commit4fe8bd742e13b5437c6aa6af3691d30e5d4bfd10
tree78e73cd97561bab0b0b6fb2d57daa3b0c59b59a8
parent9039b8bf876b3e9f9732a1562a8686d97ca79db0
vm_exists: directly check if we look for local guest

no need to make a call to ls if we just can check directly..

also remove a (possible problematic)
> my $foo = 'bar' if $boolean;
construct

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
pve-zsync