[pve-devel] [PATCH storage] deactivate volumes: terminate error message with newline

Fiona Ebner f.ebner at proxmox.com
Fri Aug 1 10:16:05 CEST 2025


Avoid that Perl auto-attaches the line number and file name.

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 src/PVE/Storage.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/Storage.pm b/src/PVE/Storage.pm
index 761b979..1dde2b7 100755
--- a/src/PVE/Storage.pm
+++ b/src/PVE/Storage.pm
@@ -1429,7 +1429,7 @@ sub deactivate_volumes {
         }
     }
 
-    die "volume deactivation failed: " . join(' ', @errlist)
+    die "volume deactivation failed: " . join(' ', @errlist) . "\n"
         if scalar(@errlist);
 }
 
-- 
2.47.2





More information about the pve-devel mailing list