]> git.proxmox.com Git - pve-container.git/commitdiff
cleanup: $mounted_dev is never set in this code path
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 18 Mar 2016 09:11:08 +0000 (10:11 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 18 Mar 2016 15:31:48 +0000 (16:31 +0100)
This might avoid some confusion in the future...

src/PVE/LXC.pm

index 58be169edb254202ea7a64e00aacf110122def0f..d4645c243418606442adaf067dd8f74c3187e490 100644 (file)
@@ -1071,7 +1071,7 @@ sub mountpoint_mount {
                    warn "cannot enable quota control for bind mounted subvolumes\n" if $quota;
                }
            }
-           return wantarray ? ($path, 0, $mounted_dev) : $path;
+           return wantarray ? ($path, 0, undef) : $path;
        } elsif ($format eq 'raw' || $format eq 'iso') {
            my $domount = sub {
                my ($path) = @_;