projects
/
pve-container.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9c0f2
)
style fix
author
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Thu, 24 Mar 2016 07:47:49 +0000
(08:47 +0100)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Fri, 1 Apr 2016 07:16:48 +0000
(09:16 +0200)
src/PVE/LXC.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/LXC.pm
b/src/PVE/LXC.pm
index 3a92f3de06f07ff9a19add1d617a90da00a0b001..0365996388486ac76c14debe8b074567d5189588 100644
(file)
--- 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') {