grammar fix: s/does not exists/does not exist/g

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2019-12-13 12:11:26 +01:00
parent 01e872db98
commit 481f6177a5
4 changed files with 4 additions and 4 deletions

View File

@ -398,7 +398,7 @@ __PACKAGE__->register_method ({
die "missing temporary file name\n" if !$tmpfilename; die "missing temporary file name\n" if !$tmpfilename;
my $size = -s $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}; my $filename = $param->{filename};

View File

@ -684,7 +684,7 @@ sub get_partnum {
$partnum = file_read_firstline("${partnum_path}partition"); $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 #untaint and ensure it is a int
if ($partnum =~ m/(\d+)/) { if ($partnum =~ m/(\d+)/) {

View File

@ -132,7 +132,7 @@ sub storage_config {
my $scfg = $cfg->{ids}->{$storeid}; 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; return $scfg;
} }

View File

@ -689,7 +689,7 @@ sub free_image {
File::Path::remove_tree($path); File::Path::remove_tree($path);
} else { } else {
if (!(-f $path || -l $path)) { if (!(-f $path || -l $path)) {
warn "disk image '$path' does not exists\n"; warn "disk image '$path' does not exist\n";
return undef; return undef;
} }