mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
toolcontext: Add paired label_init to refresh_toolcontext.
label_init() and label_exit() should be paired.
This commit is contained in:
parent
22b6c482ec
commit
4b9806ab6f
@ -2138,6 +2138,8 @@ int refresh_toolcontext(struct cmd_context *cmd)
|
|||||||
|
|
||||||
cmd->lib_dir = NULL;
|
cmd->lib_dir = NULL;
|
||||||
|
|
||||||
|
label_init();
|
||||||
|
|
||||||
if (!_init_lvm_conf(cmd))
|
if (!_init_lvm_conf(cmd))
|
||||||
return_0;
|
return_0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user