1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-07 15:33:21 +03:00

Test result of _init_tags.

This commit is contained in:
Zdenek Kabelac
2012-02-27 10:05:35 +00:00
parent 8df2c89cd4
commit 3af1ebe31e
2 changed files with 5 additions and 3 deletions

View File

@@ -532,9 +532,10 @@ static int _load_config_file(struct cmd_context *cmd, const char *tag)
dm_list_add(&cmd->config_files, &cfl->list);
out:
if (*tag)
_init_tags(cmd, cfl->cft);
else
if (*tag) {
if (!_init_tags(cmd, cfl->cft))
return_0;
} else
/* Use temporary copy of lvm.conf while loading other files */
cmd->cft = cfl->cft;