From 481f6177a58022da3128b687f022abcae38261b2 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 13 Dec 2019 12:11:26 +0100 Subject: [PATCH] grammar fix: s/does not exists/does not exist/g Signed-off-by: Thomas Lamprecht --- PVE/API2/Storage/Status.pm | 2 +- PVE/Diskmanage.pm | 2 +- PVE/Storage.pm | 2 +- PVE/Storage/Plugin.pm | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm index 1a856fb..14f5930 100644 --- a/PVE/API2/Storage/Status.pm +++ b/PVE/API2/Storage/Status.pm @@ -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}; diff --git a/PVE/Diskmanage.pm b/PVE/Diskmanage.pm index 2a0a015..abb90a7 100644 --- a/PVE/Diskmanage.pm +++ b/PVE/Diskmanage.pm @@ -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+)/) { diff --git a/PVE/Storage.pm b/PVE/Storage.pm index bb3b874..0bd103e 100755 --- a/PVE/Storage.pm +++ b/PVE/Storage.pm @@ -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; } diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index 353632c..e826d36 100644 --- a/PVE/Storage/Plugin.pm +++ b/PVE/Storage/Plugin.pm @@ -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; }