[pve-devel] [PATCH 2/2] Fix in PVE::LXC parse_ct_mountpoint

Wolfgang Link w.link at proxmox.com
Fri Aug 7 09:49:52 CEST 2015


there was the allocation missed
---
 src/PVE/LXC.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 21f03a4..bf084ba 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -643,6 +643,7 @@ sub parse_ct_mountpoint {
 	if ($p =~ m/^(volume|backup|size)=(.+)$/) {
 	    my ($k, $v) = ($1, $2);
 	    return undef if defined($res->{$k});
+	    $res->{$k} = $v;
 	} else {
 	    if (!$res->{volume} && $p !~ m/=/) {
 		$res->{volume} = $p;
-- 
2.1.4





More information about the pve-devel mailing list