]> git.proxmox.com Git - pve-container.git/commitdiff
style fix
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 24 Mar 2016 07:47:49 +0000 (08:47 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 1 Apr 2016 07:16:48 +0000 (09:16 +0200)
src/PVE/LXC.pm

index 3a92f3de06f07ff9a19add1d617a90da00a0b001..0365996388486ac76c14debe8b074567d5189588 100644 (file)
@@ -1110,7 +1110,7 @@ sub mountpoint_mount {
            die "unsupported image format '$format'\n";
        }
     } elsif ($type eq 'device') {
            die "unsupported image format '$format'\n";
        }
     } elsif ($type eq 'device') {
-                       push @extra_opts, '-o', 'ro' if $readonly;
+       push @extra_opts, '-o', 'ro' if $readonly;
        PVE::Tools::run_command(['mount', @extra_opts, $volid, $mount_path]) if $mount_path;
        return wantarray ? ($volid, 0, $volid) : $volid;
     } elsif ($type eq 'bind') {
        PVE::Tools::run_command(['mount', @extra_opts, $volid, $mount_path]) if $mount_path;
        return wantarray ? ($volid, 0, $volid) : $volid;
     } elsif ($type eq 'bind') {