1
0
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:
Alasdair Kergon 2006-11-14 15:28:50 +00:00
parent deb202bd42
commit b65e33f442
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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);