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