mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix --autobackup argument which could never disable backups.
This commit is contained in:
parent
deb202bd42
commit
b65e33f442
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.15 -
|
Version 2.02.15 -
|
||||||
====================================
|
====================================
|
||||||
|
Fix --autobackup argument which could never disable backups.
|
||||||
Fix a label_verify error path.
|
Fix a label_verify error path.
|
||||||
|
|
||||||
Version 2.02.14 - 10th November 2006
|
Version 2.02.14 - 10th November 2006
|
||||||
|
@ -712,10 +712,8 @@ static int _get_settings(struct cmd_context *cmd)
|
|||||||
cmd->default_settings.activation);
|
cmd->default_settings.activation);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arg_count(cmd, autobackup_ARG)) {
|
cmd->current_settings.archive = arg_int_value(cmd, autobackup_ARG, cmd->current_settings.archive);
|
||||||
cmd->current_settings.archive = 1;
|
cmd->current_settings.backup = arg_int_value(cmd, autobackup_ARG, cmd->current_settings.backup);
|
||||||
cmd->current_settings.backup = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (arg_count(cmd, partial_ARG)) {
|
if (arg_count(cmd, partial_ARG)) {
|
||||||
init_partial(1);
|
init_partial(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user