]> git.proxmox.com Git - pve-storage.git/commitdiff
grammar fix: s/does not exists/does not exist/g
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 13 Dec 2019 11:11:26 +0000 (12:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 13 Dec 2019 11:11:26 +0000 (12:11 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Storage/Status.pm
PVE/Diskmanage.pm
PVE/Storage.pm
PVE/Storage/Plugin.pm

index 1a856fb4c498adefe77f0d3e66cb08172fedd900..14f5930b1ce6d687426b173ae568af6ecd0f9ea0 100644 (file)
@@ -398,7 +398,7 @@ __PACKAGE__->register_method ({
        die "missing temporary file name\n" if !$tmpfilename;
 
        my $size = -s $tmpfilename;
-       die "temporary file '$tmpfilename' does not exists\n" if !defined($size);
+       die "temporary file '$tmpfilename' does not exist\n" if !defined($size);
 
        my $filename = $param->{filename};
 
index 2a0a01531363d7c5fea85dc9806236da48668838..abb90a79d93038cf470fe45ba1c7168c8d0f40a5 100644 (file)
@@ -684,7 +684,7 @@ sub get_partnum {
 
     $partnum = file_read_firstline("${partnum_path}partition");
 
-    die "Partition does not exists\n" if !defined($partnum);
+    die "Partition does not exist\n" if !defined($partnum);
 
     #untaint and ensure it is a int
     if ($partnum =~ m/(\d+)/) {
index bb3b8743f296c353630e0266dbe6d83dcbe25eaa..0bd103e914c1512e318c6a14e77c070673ecdaea 100755 (executable)
@@ -132,7 +132,7 @@ sub storage_config {
 
     my $scfg = $cfg->{ids}->{$storeid};
 
-    die "storage '$storeid' does not exists\n" if (!$noerr && !$scfg);
+    die "storage '$storeid' does not exist\n" if (!$noerr && !$scfg);
 
     return $scfg;
 }
index 353632c967f5be9a2bb4c21fbf5918ee7d4cb161..e826d36131ede8eaad9b643b8cbf475f27b44f70 100644 (file)
@@ -689,7 +689,7 @@ sub free_image {
        File::Path::remove_tree($path);
     } else {
        if (!(-f $path || -l $path)) {
-           warn "disk image '$path' does not exists\n";
+           warn "disk image '$path' does not exist\n";
            return undef;
        }