grammar fix: s/does not exists/does not exist/g
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -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};
|
||||
|
||||
|
||||
@ -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+)/) {
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user