mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
\n
This commit is contained in:
parent
b0928986bf
commit
8762493eb8
@ -3046,7 +3046,7 @@ int pv_analyze(struct cmd_context *cmd, const char *pv_name,
|
||||
int vg_check_write_mode(vg_t *vg)
|
||||
{
|
||||
if (vg->open_mode != 'w') {
|
||||
log_errno(EPERM, "Attempt to modify a read-only VG\n");
|
||||
log_errno(EPERM, "Attempt to modify a read-only VG");
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user