[pve-devel] [PATCH 1/2] apiserver: fix typo

Nicolas Frey n.frey at proxmox.com
Wed Oct 15 10:03:29 CEST 2025


Signed-off-by: Nicolas Frey <n.frey at proxmox.com>
---
 src/PVE/APIServer/AnyEvent.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/APIServer/AnyEvent.pm b/src/PVE/APIServer/AnyEvent.pm
index 59bc184..36dee02 100644
--- a/src/PVE/APIServer/AnyEvent.pm
+++ b/src/PVE/APIServer/AnyEvent.pm
@@ -478,7 +478,7 @@ sub send_file_start {
 
             if (!($fh = $download->{fh})) {
                 my $path = $download->{path};
-                die "internal error: {download} returned but neither fh not path given\n"
+                die "internal error: {download} returned but neither fh nor path given\n"
                     if !$path;
                 sysopen($fh, "$path", O_NONBLOCK | O_RDONLY)
                     or die "open stream path '$path' for reading failed: $!\n";
-- 
2.47.3




More information about the pve-devel mailing list