[pve-devel] [PATCH container 1/2] style fix
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Mar 24 08:47:49 CET 2016
---
Where did those extra tabs come from...
git blame is lying, I'd never do that!
Also none of you noticed, shame on all of you!
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 3a92f3d..0365996 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -1110,7 +1110,7 @@ sub mountpoint_mount {
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') {
--
2.1.4
More information about the pve-devel
mailing list