[pve-devel] [PATCH pve-zsync 01/11] typo fix: exsits -> exists

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Sep 28 11:40:02 CEST 2015


---
 pve-zsync | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pve-zsync b/pve-zsync
index c23bc4b..216057b 100644
--- a/pve-zsync
+++ b/pve-zsync
@@ -77,7 +77,7 @@ sub get_status {
     return undef;
 }
 
-sub check_pool_exsits {
+sub check_pool_exists {
     my ($target) = @_;
 
     my $cmd = '';
@@ -436,9 +436,9 @@ sub init {
 	run_cmd("ssh-copy-id -i /root/.ssh/id_rsa.pub root\@$ip");
     }
 
-    die "Pool $dest->{all} does not exists\n" if check_pool_exsits($dest);
+    die "Pool $dest->{all} does not exists\n" if check_pool_exists($dest);
 
-    my $check = check_pool_exsits($source->{path}, $source->{ip}) if !$source->{vmid} && $source->{path};
+    my $check = check_pool_exists($source->{path}, $source->{ip}) if !$source->{vmid} && $source->{path};
 
     die "Pool $source->{path} does not exists\n" if undef($check);
 
-- 
2.1.4





More information about the pve-devel mailing list