[pve-devel] [PATCH] print_ct_mountpoint: fix info variable substitution

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Aug 13 14:01:38 CEST 2015


---
 src/PVE/LXC.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index aea85d8..d808489 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -758,7 +758,7 @@ sub print_ct_mountpoint {
     die "missing volume\n" if !$info->{volume};
 
     foreach my $o ('size', 'backup') {
-	$opts .= ",$o=info->{$o}" if defined($info->{$o});
+	$opts .= ",$o=$info->{$o}" if defined($info->{$o});
     }
 
     return "$info->{volume}$opts";
-- 
2.1.4





More information about the pve-devel mailing list